public interface DefaultParamsWritable extends MLWritable
Helper trait for making simple Params
types writable. If a Params
class stores
all data as Param
values, then extending this trait will provide
a default implementation of writing saved instances of the class.
This only handles simple Param
types; e.g., it will not handle
Dataset
.
DefaultParamsReadable
, the counterpart to this traitModifier and Type | Method and Description |
---|---|
MLWriter |
write()
Returns an
MLWriter instance for this ML instance. |
save
MLWriter write()
MLWritable
MLWriter
instance for this ML instance.write
in interface MLWritable