GeneralMLWritable (Spark 3.5.5 JavaDoc) (original) (raw)
- All Superinterfaces:
MLWritable
All Known Implementing Classes:
KMeansModel, LinearRegressionModel
public interface GeneralMLWritable
extends MLWritable
Trait for classes that provide GeneralMLWriter
.
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type Method and Description GeneralMLWriter write() Returns an MLWriter instance for this ML instance. * ### Methods inherited from interface org.apache.spark.ml.util.[MLWritable](../../../../../org/apache/spark/ml/util/MLWritable.html "interface in org.apache.spark.ml.util") `[save](../../../../../org/apache/spark/ml/util/MLWritable.html#save-java.lang.String-)`
Method Detail
* #### write [GeneralMLWriter](../../../../../org/apache/spark/ml/util/GeneralMLWriter.html "class in org.apache.spark.ml.util") write() Returns an `MLWriter` instance for this ML instance. Specified by: `[write](../../../../../org/apache/spark/ml/util/MLWritable.html#write--)` in interface `[MLWritable](../../../../../org/apache/spark/ml/util/MLWritable.html "interface in org.apache.spark.ml.util")` Returns: (undocumented)