public static class GLMRegressionModel.SaveLoadV1_0$
extends Object
| Modifier and Type | Class and Description | 
|---|---|
class  | 
GLMRegressionModel.SaveLoadV1_0$.Data
Model data for model import/export 
 | 
class  | 
GLMRegressionModel.SaveLoadV1_0$.Data$  | 
| Modifier and Type | Field and Description | 
|---|---|
static GLMRegressionModel.SaveLoadV1_0$ | 
MODULE$
Static reference to the singleton instance of this Scala object. 
 | 
| Constructor and Description | 
|---|
SaveLoadV1_0$()  | 
| Modifier and Type | Method and Description | 
|---|---|
org.apache.spark.mllib.regression.impl.GLMRegressionModel.SaveLoadV1_0.Data | 
loadData(SparkContext sc,
        String path,
        String modelClass,
        int numFeatures)
Helper method for loading GLM regression model data. 
 | 
void | 
save(SparkContext sc,
    String path,
    String modelClass,
    Vector weights,
    double intercept)
Helper method for saving GLM regression model metadata and data. 
 | 
String | 
thisFormatVersion()  | 
public static final GLMRegressionModel.SaveLoadV1_0$ MODULE$
public String thisFormatVersion()
public void save(SparkContext sc, String path, String modelClass, Vector weights, double intercept)
modelClass - String name for model class, to be saved with metadatasc - (undocumented)path - (undocumented)weights - (undocumented)intercept - (undocumented)public org.apache.spark.mllib.regression.impl.GLMRegressionModel.SaveLoadV1_0.Data loadData(SparkContext sc, String path, String modelClass, int numFeatures)
modelClass - String name for model class (used for error messages)numFeatures - Number of features, to be checked against loaded data.
                     The length of the weights vector should equal numFeatures.sc - (undocumented)path - (undocumented)