DefaultParamsReadable#
- class pyspark.ml.util.DefaultParamsReadable[source]#
- Helper trait for making simple - Paramstypes readable. If a- Paramsclass stores all data as- Paramvalues, then extending this trait will provide a default implementation of reading saved instances of the class. This only handles simple- Paramtypes; e.g., it will not handle- pyspark.sql.DataFrame. See- DefaultParamsWritable, 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).