MLWritable

class pyspark.ml.util.MLWritable

Mixin for ML instances that provide MLWriter.

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

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

write()pyspark.ml.util.MLWriter

Returns an MLWriter instance for this ML instance.