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