| Modifier and Type | Method and Description | 
|---|---|
| MLModel | LensMLClient. getModel(String algorithm,
        String modelId)Get a model instance given the algorithm name and model ID. | 
| Modifier and Type | Method and Description | 
|---|---|
| MLModel | MLAlgo. train(LensConf conf,
     String db,
     String table,
     String modelId,
     String... params)Train. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClassifierBaseModelReturn a single double value as a prediction. | 
| class  | ForecastingModelThe Class ForecastingModel. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BaseSparkClassificationModel<MODEL extends org.apache.spark.mllib.classification.ClassificationModel>The Class BaseSparkClassificationModel. | 
| Modifier and Type | Method and Description | 
|---|---|
| MLModel<?> | BaseSparkAlgo. train(LensConf conf,
     String db,
     String table,
     String modelId,
     String... params) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DecisionTreeClassificationModelThe Class DecisionTreeClassificationModel. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | KMeansClusteringModelThe Class KMeansClusteringModel. | 
| Modifier and Type | Method and Description | 
|---|---|
| MLModel | KMeansAlgo. train(LensConf conf,
     String db,
     String table,
     String modelId,
     String... params) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LogitRegressionClassificationModelThe Class LogitRegressionClassificationModel. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | NaiveBayesClassificationModelThe Class NaiveBayesClassificationModel. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SVMClassificationModelThe Class SVMClassificationModel. | 
| Modifier and Type | Method and Description | 
|---|---|
| MLModel | LensML. getModel(String algorithm,
        String modelId)Get a model instance given the algorithm name and model ID. | 
| Modifier and Type | Method and Description | 
|---|---|
| MLModel<?> | MLDBUtils. getMLModel(String modelID)Get model metadata given ID | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MLDBUtils. saveMLModel(MLModel<?> mlModel)Insert model metadata into model table | 
| Modifier and Type | Method and Description | 
|---|---|
| MLModel | LensMLImpl. getModel(String algorithm,
        String modelId) | 
| static MLModel | ModelLoader. loadModel(org.apache.hadoop.conf.Configuration conf,
         String algorithm,
         String modelID)Load model. | 
| Modifier and Type | Method and Description | 
|---|---|
| MLModel | MLServiceImpl. getModel(String algorithm,
        String modelId) | 
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.