public class MLRunner extends Object
Constructor and Description |
---|
MLRunner() |
Modifier and Type | Method and Description |
---|---|
void |
createTable(String tableName,
String dataFile) |
void |
init(LensMLClient mlClient,
String confDir) |
void |
init(LensMLClient mlClient,
String algoName,
String database,
String trainTable,
String trainFile,
String testTable,
String testFile,
String outputTable,
String[] features,
String labelColumn) |
static void |
main(String[] args) |
MLTask |
train() |
public void init(LensMLClient mlClient, String confDir) throws Exception
Exception
public void init(LensMLClient mlClient, String algoName, String database, String trainTable, String trainFile, String testTable, String testFile, String outputTable, String[] features, String labelColumn)
public void createTable(String tableName, String dataFile) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.