T
- ML instance typepublic interface DefaultParamsReadable<T> extends 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
.
DefaultParamsWritable
, the counterpart to this traitModifier and Type | Method and Description |
---|---|
MLReader<T> |
read()
Returns an
MLReader instance for this class. |
load
MLReader<T> read()
MLReadable
MLReader
instance for this class.read
in interface MLReadable<T>