This project has retired. For details please refer to its
Attic page.
MLRunner (Lens 2.1.0-beta-incubating API)
org.apache.lens.ml.impl
Class MLRunner
java.lang.Object
org.apache.lens.ml.impl.MLRunner
public class MLRunner
- extends Object
Method Summary |
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()
|
MLRunner
public MLRunner()
init
public void init(LensMLClient mlClient,
String confDir)
throws Exception
- Throws:
Exception
init
public void init(LensMLClient mlClient,
String algoName,
String database,
String trainTable,
String trainFile,
String testTable,
String testFile,
String outputTable,
String[] features,
String labelColumn)
train
public MLTask train()
throws Exception
- Throws:
Exception
createTable
public void createTable(String tableName,
String dataFile)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.