|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.ml.impl.MLTask.Builder
public static class MLTask.Builder
Builder to create an example task
Constructor Summary | |
---|---|
MLTask.Builder()
|
Method Summary | |
---|---|
MLTask.Builder |
addFeatureColumn(String featureColumn)
|
MLTask.Builder |
algorithm(String algorithm)
|
MLTask |
build()
|
MLTask.Builder |
client(LensMLClient client)
|
MLTask.Builder |
extraParam(String param,
String value)
|
MLTask.Builder |
hiveConf(org.apache.hadoop.hive.conf.HiveConf hiveConf)
|
MLTask.Builder |
labelColumn(String labelColumn)
|
MLTask.Builder |
outputTable(String outputTable)
|
MLTask.Builder |
partitionSpec(String partitionSpec)
|
MLTask.Builder |
testTable(String testTable)
|
MLTask.Builder |
trainingTable(String trainingTable)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MLTask.Builder()
Method Detail |
---|
public MLTask.Builder trainingTable(String trainingTable)
public MLTask.Builder testTable(String testTable)
public MLTask.Builder algorithm(String algorithm)
public MLTask.Builder labelColumn(String labelColumn)
public MLTask.Builder client(LensMLClient client)
public MLTask.Builder addFeatureColumn(String featureColumn)
public MLTask.Builder hiveConf(org.apache.hadoop.hive.conf.HiveConf hiveConf)
public MLTask.Builder extraParam(String param, String value)
public MLTask.Builder partitionSpec(String partitionSpec)
public MLTask.Builder outputTable(String outputTable)
public MLTask build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |