mlearner version: 0.2.0

check_is_fitted

check_is_fitted(estimator, attributes, msg=None, all_or_any=)

Perform is_fitted validation for estimator. Checks if the estimator is fitted by verifying the presence of "all_or_any" of the passed attributes and raises a NotFittedError with the given message. Parameters

None Raises

NotFittedError If the attributes are not found.