This project has retired. For details please refer to its Attic page.
DecisionTreeClassificationModel (Lens 2.0.1-beta-incubating API)

org.apache.lens.ml.spark.models
Class DecisionTreeClassificationModel

java.lang.Object
  extended by org.apache.lens.ml.MLModel<Double>
      extended by org.apache.lens.ml.ClassifierBaseModel
          extended by org.apache.lens.ml.spark.models.BaseSparkClassificationModel<SparkDecisionTreeModel>
              extended by org.apache.lens.ml.spark.models.DecisionTreeClassificationModel
All Implemented Interfaces:
Serializable

public class DecisionTreeClassificationModel
extends BaseSparkClassificationModel<SparkDecisionTreeModel>

The Class DecisionTreeClassificationModel.

See Also:
Serialized Form

Constructor Summary
DecisionTreeClassificationModel(String modelId, SparkDecisionTreeModel model)
          Instantiates a new decision tree classification model.
 
Method Summary
 
Methods inherited from class org.apache.lens.ml.spark.models.BaseSparkClassificationModel
getId, predict
 
Methods inherited from class org.apache.lens.ml.ClassifierBaseModel
getFeatureVector
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecisionTreeClassificationModel

public DecisionTreeClassificationModel(String modelId,
                                       SparkDecisionTreeModel model)
Instantiates a new decision tree classification model.

Parameters:
modelId - the model id
model - the model


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