DefaultParamsReadable#
- class pyspark.ml.util.DefaultParamsReadable[source]#
Helper trait for making simple
Paramstypes readable. If aParamsclass stores all data asParamvalues, then extending this trait will provide a default implementation of reading saved instances of the class. This only handles simpleParamtypes; 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).