ConfigurableBaseEstimator.save_attributes

ConfigurableBaseEstimator.save_attributes(path)[source]

Saves the fitted attributes of this estimator. By default, it uses JSON and falls back to pickle. Subclasses should overwrite this method if non-primitive attributes are fitted.

Typically, this method should not be called directly. It is called as part of save().

Parameters

path (Path) -- The directory to which the fitted attributed should be saved.

Raises

NotFittedError -- If the estimator has not been fitted.

Return type

None