MLWritable¶
-
class
pyspark.ml.util.
MLWritable
[source]¶ Mixin for ML instances that provide
MLWriter
.New in version 2.0.0.
Methods
save
(path)Save this ML instance to the given path, a shortcut of ‘write().save(path)’.
write
()Returns an MLWriter instance for this ML instance.
Methods Documentation
-
save
(path: str) → None[source]¶ Save this ML instance to the given path, a shortcut of ‘write().save(path)’.
-
write
() → pyspark.ml.util.MLWriter[source]¶ Returns an MLWriter instance for this ML instance.
-