public class MLClassificationModel extends Object implements Externalizable, PMMLModelContainer
ClassificationModel
model.Constructor and Description |
---|
MLClassificationModel() |
MLClassificationModel(org.apache.spark.mllib.classification.ClassificationModel model) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.mllib.classification.ClassificationModel |
getModel() |
org.apache.spark.mllib.pmml.PMMLExportable |
getPMMLExportable() |
void |
readExternal(ObjectInput in) |
void |
setModel(org.apache.spark.mllib.classification.ClassificationModel model) |
void |
writeExternal(ObjectOutput out) |
public MLClassificationModel()
public MLClassificationModel(org.apache.spark.mllib.classification.ClassificationModel model)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public org.apache.spark.mllib.classification.ClassificationModel getModel()
public void setModel(org.apache.spark.mllib.classification.ClassificationModel model)
public org.apache.spark.mllib.pmml.PMMLExportable getPMMLExportable() throws MLPmmlExportException
getPMMLExportable
in interface PMMLModelContainer
MLPmmlExportException
Copyright © 2016 WSO2, Inc.. All Rights Reserved.