Class NaiveBayesModel.SaveLoadV1_0$
Object
org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0$
- Enclosing class:
- NaiveBayesModel
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Model data for model import/exportclass
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NaiveBayesModel.SaveLoadV1_0$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionload
(SparkContext sc, String path) void
save
(SparkContext sc, String path, org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0.Data data) Hard-code class name string in case it changes in the future
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
SaveLoadV1_0$
public SaveLoadV1_0$()
-
-
Method Details
-
thisFormatVersion
-
thisClassName
Hard-code class name string in case it changes in the future -
save
public void save(SparkContext sc, String path, org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV1_0.Data data) -
load
-