DefaultParamsWritable¶
-
class
pyspark.ml.util.DefaultParamsWritable[source]¶ Helper trait for making simple
Paramstypes writable. If aParamsclass stores all data asParamvalues, then extending this trait will provide a default implementation of writing saved instances of the class. This only handles simpleParamtypes; e.g., it will not handlepyspark.sql.DataFrame. SeeDefaultParamsReadable, the counterpart to this class.New in version 2.3.0.
Methods
save(path)Save this ML instance to the given path, a shortcut of ‘write().save(path)’.
write()Returns a DefaultParamsWriter instance for this class.
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[source]¶ Returns a DefaultParamsWriter instance for this class.
-