public static class NaiveBayesModel.SaveLoadV1_0$
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
NaiveBayesModel.SaveLoadV1_0$.Data
Model data for model import/export
|
Modifier and Type | Field and Description |
---|---|
static NaiveBayesModel.SaveLoadV1_0$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
NaiveBayesModel.SaveLoadV1_0$() |
Modifier and Type | Method and Description |
---|---|
NaiveBayesModel |
load(SparkContext sc,
java.lang.String path) |
void |
save(SparkContext sc,
java.lang.String path,
org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0.Data data) |
java.lang.String |
thisClassName()
Hard-code class name string in case it changes in the future
|
java.lang.String |
thisFormatVersion() |
public static final NaiveBayesModel.SaveLoadV1_0$ MODULE$
public java.lang.String thisFormatVersion()
public java.lang.String thisClassName()
public void save(SparkContext sc, java.lang.String path, org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0.Data data)
public NaiveBayesModel load(SparkContext sc, java.lang.String path)