DefaultParamsReadable#
- class pyspark.ml.util.DefaultParamsReadable[source]#
Helper trait for making simple
Params
types readable. If aParams
class stores all data asParam
values, then extending this trait will provide a default implementation of reading saved instances of the class. This only handles simpleParam
types; e.g., it will not handlepyspark.sql.DataFrame
. SeeDefaultParamsWritable
, the counterpart to this class.New in version 2.3.0.
Methods
load
(path)Reads an ML instance from the input path, a shortcut of read().load(path).
read
()Returns a DefaultParamsReader instance for this class.
Methods Documentation
- classmethod load(path)#
Reads an ML instance from the input path, a shortcut of read().load(path).