DefaultParamsReadable

class pyspark.ml.util.DefaultParamsReadable[source]

Helper trait for making simple Params types readable. If a Params class stores all data as Param values, then extending this trait will provide a default implementation of reading saved instances of the class. This only handles simple Param types; 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).

classmethod read()[source]

Returns a DefaultParamsReader instance for this class.