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