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