public class MLGeneralizedLinearModel extends Object implements Externalizable, PMMLModelContainer
GeneralizedLinearModel
model.Constructor and Description |
---|
MLGeneralizedLinearModel() |
MLGeneralizedLinearModel(org.apache.spark.mllib.regression.GeneralizedLinearModel model) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.mllib.regression.GeneralizedLinearModel |
getModel() |
org.apache.spark.mllib.pmml.PMMLExportable |
getPMMLExportable() |
void |
readExternal(ObjectInput in) |
void |
setModel(org.apache.spark.mllib.regression.GeneralizedLinearModel model) |
void |
writeExternal(ObjectOutput out) |
public MLGeneralizedLinearModel()
public MLGeneralizedLinearModel(org.apache.spark.mllib.regression.GeneralizedLinearModel 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.regression.GeneralizedLinearModel getModel()
public void setModel(org.apache.spark.mllib.regression.GeneralizedLinearModel model)
public org.apache.spark.mllib.pmml.PMMLExportable getPMMLExportable() throws MLPmmlExportException
getPMMLExportable
in interface PMMLModelContainer
MLPmmlExportException
Copyright © 2015 WSO2, Inc.. All Rights Reserved.