public interface MLAlgo
Modifier and Type | Method and Description |
---|---|
void |
configure(LensConf configuration)
Configure.
|
LensConf |
getConf() |
String |
getDescription() |
String |
getName() |
MLModel |
train(LensConf conf,
String db,
String table,
String modelId,
String... params)
Train.
|
String getName()
String getDescription()
void configure(LensConf configuration)
configuration
- the configurationLensConf getConf()
MLModel train(LensConf conf, String db, String table, String modelId, String... params) throws LensException
conf
- the confdb
- the dbtable
- the tablemodelId
- the model idparams
- the paramsLensException
- the lens exceptionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.