BaseEstimator.load

classmethod BaseEstimator.load(path)[source]

Loads the estimator and (if available) the fitted model. This method should only be expected to work to load an estimator that has previously been saved via save().

Parameters

path (Union[str, PathLike[str]]) -- The directory from which to load the estimator.

Return type

TypeVar(E, bound= BaseEstimator)

Returns

The loaded estimator, either fitted or not.