Constructor and Description |
---|
KMeansAlgo() |
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.
|
public String getDescription()
getDescription
in interface MLAlgo
public void configure(LensConf configuration)
MLAlgo
public MLModel train(LensConf conf, String db, String table, String modelId, String... params) throws LensException
MLAlgo
train
in interface MLAlgo
conf
- the confdb
- the dbtable
- the tablemodelId
- the model idparams
- the paramsLensException
- the lens exceptionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.