Package org.apache.spark.ml.util
Interface DefaultParamsReadable<T>
- Type Parameters:
T
- ML instance type
- All Superinterfaces:
MLReadable<T>
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
Dataset
.
- See Also:
-
DefaultParamsWritable
, the counterpart to this trait
-
Method Summary
Methods inherited from interface org.apache.spark.ml.util.MLReadable
load
-
Method Details
-
read
Description copied from interface:MLReadable
Returns anMLReader
instance for this class.- Specified by:
read
in interfaceMLReadable<T>
- Returns:
- (undocumented)
-