|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.ml.spark.TableTrainingSpec.TableTrainingSpecBuilder
public static class TableTrainingSpec.TableTrainingSpecBuilder
The Class TableTrainingSpecBuilder.
Constructor Summary | |
---|---|
TableTrainingSpec.TableTrainingSpecBuilder()
Instantiates a new table training spec builder. |
Method Summary | |
---|---|
TableTrainingSpec |
build()
Builds the. |
TableTrainingSpec.TableTrainingSpecBuilder |
database(String db)
Database. |
TableTrainingSpec.TableTrainingSpecBuilder |
featureColumns(List<String> featureColumns)
Feature columns. |
TableTrainingSpec.TableTrainingSpecBuilder |
hiveConf(org.apache.hadoop.hive.conf.HiveConf conf)
Hive conf. |
TableTrainingSpec.TableTrainingSpecBuilder |
labelColumn(String labelColumn)
Label column. |
TableTrainingSpec.TableTrainingSpecBuilder |
partitionFilter(String partFilter)
Partition filter. |
TableTrainingSpec.TableTrainingSpecBuilder |
table(String table)
Table. |
TableTrainingSpec.TableTrainingSpecBuilder |
trainingFraction(double trainingFraction)
Training fraction. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableTrainingSpec.TableTrainingSpecBuilder()
Method Detail |
---|
public TableTrainingSpec.TableTrainingSpecBuilder hiveConf(org.apache.hadoop.hive.conf.HiveConf conf)
conf
- the conf
public TableTrainingSpec.TableTrainingSpecBuilder database(String db)
db
- the db
public TableTrainingSpec.TableTrainingSpecBuilder table(String table)
table
- the table
public TableTrainingSpec.TableTrainingSpecBuilder partitionFilter(String partFilter)
partFilter
- the part filter
public TableTrainingSpec.TableTrainingSpecBuilder labelColumn(String labelColumn)
labelColumn
- the label column
public TableTrainingSpec.TableTrainingSpecBuilder featureColumns(List<String> featureColumns)
featureColumns
- the feature columns
public TableTrainingSpec build()
public TableTrainingSpec.TableTrainingSpecBuilder trainingFraction(double trainingFraction)
trainingFraction
- the training fraction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |