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)[source]#

Save this ML instance to the given path, a shortcut of ‘write().save(path)’.

write()[source]#

Returns an MLWriter instance for this ML instance.