org.apache.lens.ml
Class MLModel<PREDICTION>
java.lang.Object
org.apache.lens.ml.MLModel<PREDICTION>
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ClassifierBaseModel, ForecastingModel, KMeansClusteringModel
public abstract class MLModel<PREDICTION>
- extends Object
- implements Serializable
Instantiates a new ML model.
- See Also:
- Serialized Form
MLModel
public MLModel()
predict
public abstract PREDICTION predict(Object... args)
- Predict.
- Parameters:
args
- the args
- Returns:
- the prediction
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.