Class: DefaultParamsWritable

eclairjs/ml/util. DefaultParamsWritable

:: DeveloperApi :: 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.

Constructor

new DefaultParamsWritable()

Source:
See:
  • DefaultParamsReadable, the counterpart to this trait

Extends

Methods

$init$() → (nullable) {?}

Overrides:
Source:
Returns:
Type
?

save(path)

Saves this ML instance to the input path, a shortcut of `write.save(path)`.
Parameters:
Name Type Description
path string
Inherited From:
Source:

write() → {module:eclairjs/ml/util.MLWriter}

Overrides:
Source:
Returns:
Type
module:eclairjs/ml/util.MLWriter