|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.ml.task.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 |
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 |
password(String password)
|
MLTask.Builder |
serverLocation(String serverLocation)
|
MLTask.Builder |
sessionHandle(LensSessionHandle sessionHandle)
|
MLTask.Builder |
trainingTable(String trainingTable)
|
MLTask.Builder |
userName(String userName)
|
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 algorithm(String algorithm)
public MLTask.Builder labelColumn(String labelColumn)
public MLTask.Builder addFeatureColumn(String featureColumn)
public MLTask.Builder hiveConf(org.apache.hadoop.hive.conf.HiveConf hiveConf)
public MLTask.Builder serverLocation(String serverLocation)
public MLTask.Builder sessionHandle(LensSessionHandle sessionHandle)
public MLTask.Builder extraParam(String param, String value)
public MLTask.Builder partitionSpec(String partitionSpec)
public MLTask.Builder outputTable(String outputTable)
public MLTask build()
public MLTask.Builder userName(String userName)
public MLTask.Builder password(String password)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |