KMeansModel.SaveLoadV2_0$ (Spark 3.5.5 JavaDoc) (original) (raw)
Object
- org.apache.spark.mllib.clustering.KMeansModel.SaveLoadV2_0$
Enclosing class:
KMeansModel
public static class KMeansModel.SaveLoadV2_0$
extends Object
Field Summary
Fields
Modifier and Type Field and Description static KMeansModel.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 KMeansModel load(SparkContext sc, String path) void save(SparkContext sc,KMeansModel model, String path) * ### Methods inherited from class Object `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Field Detail
* #### MODULE$ public static final [KMeansModel.SaveLoadV2_0$](../../../../../org/apache/spark/mllib/clustering/KMeansModel.SaveLoadV2%5F0$.html "class in org.apache.spark.mllib.clustering") MODULE$ Static reference to the singleton instance of this Scala object.
Constructor Detail
* #### SaveLoadV2\_0$ public SaveLoadV2_0$()
Method Detail
* #### save public void save([SparkContext](../../../../../org/apache/spark/SparkContext.html "class in org.apache.spark") sc, [KMeansModel](../../../../../org/apache/spark/mllib/clustering/KMeansModel.html "class in org.apache.spark.mllib.clustering") model, String path) * #### load public [KMeansModel](../../../../../org/apache/spark/mllib/clustering/KMeansModel.html "class in org.apache.spark.mllib.clustering") load([SparkContext](../../../../../org/apache/spark/SparkContext.html "class in org.apache.spark") sc, String path)