This is documentation for an old release of Scikit-learn (version 0.23). Try the latest stable release (version 1.6) or development (unstable) versions.
sklearn.exceptions
.FitFailedWarning¶
-
class
sklearn.exceptions.
FitFailedWarning
[source]¶ Warning class used if there is an error while fitting the estimator.
This Warning is used in meta estimators GridSearchCV and RandomizedSearchCV and the cross-validation helper function cross_val_score to warn when there is an error while fitting the estimator.
Changed in version 0.18: Moved from sklearn.cross_validation.
- Attributes
- args
Methods
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.