public class MLRandomForestModel extends Object implements Externalizable
RandomForestModel
model.Constructor and Description |
---|
MLRandomForestModel() |
MLRandomForestModel(org.apache.spark.mllib.tree.model.RandomForestModel model) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.mllib.tree.model.RandomForestModel |
getModel() |
void |
readExternal(ObjectInput in) |
void |
setModel(org.apache.spark.mllib.tree.model.RandomForestModel model) |
void |
writeExternal(ObjectOutput out) |
public MLRandomForestModel()
public MLRandomForestModel(org.apache.spark.mllib.tree.model.RandomForestModel 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.tree.model.RandomForestModel getModel()
public void setModel(org.apache.spark.mllib.tree.model.RandomForestModel model)
Copyright © 2015 WSO2, Inc.. All Rights Reserved.