org.apache.lens.ml
Class MLModel<PREDICTION>

java.lang.Object
  extended by 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

Constructor Summary
MLModel()
           
 
Method Summary
abstract  PREDICTION predict(Object... args)
          Predict.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLModel

public MLModel()
Method Detail

predict

public abstract PREDICTION predict(Object... args)
Predict.

Parameters:
args - the args
Returns:
the prediction


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.