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

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<org.apache.spark.mllib.classification.SVMModel>
              extended by org.apache.lens.ml.spark.models.SVMClassificationModel
All Implemented Interfaces:
Serializable

public class SVMClassificationModel
extends BaseSparkClassificationModel<org.apache.spark.mllib.classification.SVMModel>

The Class SVMClassificationModel.

See Also:
Serialized Form

Constructor Summary
SVMClassificationModel(String modelId, org.apache.spark.mllib.classification.SVMModel model)
          Instantiates a new SVM 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

SVMClassificationModel

public SVMClassificationModel(String modelId,
                              org.apache.spark.mllib.classification.SVMModel model)
Instantiates a new SVM classification model.

Parameters:
modelId - the model id
model - the model


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