pyspark.ml.util.
DefaultParamsWritable
Helper trait for making simple Params types writable. If a Params class stores all data as Param values, then extending this trait will provide a default implementation of writing saved instances of the class. This only handles simple Param types; e.g., it will not handle pyspark.sql.DataFrame. See DefaultParamsReadable, the counterpart to this class.
Params
Param
pyspark.sql.DataFrame
DefaultParamsReadable
New in version 2.3.0.
Methods
save(path)
save
Save this ML instance to the given path, a shortcut of ‘write().save(path)’.
write()
write
Returns a DefaultParamsWriter instance for this class.
Methods Documentation