NaiveBayesModel.SaveLoadV2_0$ (Spark 3.5.5 JavaDoc) (original) (raw)
Object
- org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV2_0$
Enclosing class:
NaiveBayesModel
public static class NaiveBayesModel.SaveLoadV2_0$
extends Object
Nested Class Summary
Nested Classes
Modifier and Type Class and Description class NaiveBayesModel.SaveLoadV2_0$.Data Model data for model import/export class NaiveBayesModel.SaveLoadV2_0$.Data$ Field Summary
Fields
Modifier and Type Field and Description static NaiveBayesModel.SaveLoadV2_0$ MODULE$ Static reference to the singleton instance of this Scala object. Constructor Summary
Constructors
Constructor and Description SaveLoadV2_0$() Method Summary
All Methods Instance Methods Concrete Methods
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() * ### Methods inherited from class Object `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Field Detail
* #### MODULE$ public static final [NaiveBayesModel.SaveLoadV2_0$](../../../../../org/apache/spark/mllib/classification/NaiveBayesModel.SaveLoadV2%5F0$.html "class in org.apache.spark.mllib.classification") MODULE$ Static reference to the singleton instance of this Scala object.
Constructor Detail
* #### SaveLoadV2\_0$ public SaveLoadV2_0$()
Method Detail
* #### thisFormatVersion public String thisFormatVersion() * #### thisClassName public String thisClassName() Hard-code class name string in case it changes in the future * #### save public void save([SparkContext](../../../../../org/apache/spark/SparkContext.html "class in org.apache.spark") sc, String path, org.apache.spark.mllib.classification.NaiveBayesModel.SaveLoadV2_0.Data data) * #### load public [NaiveBayesModel](../../../../../org/apache/spark/mllib/classification/NaiveBayesModel.html "class in org.apache.spark.mllib.classification") load([SparkContext](../../../../../org/apache/spark/SparkContext.html "class in org.apache.spark") sc, String path)