W3cubDocs

/scikit-learn

FitFailedWarning

exceptionsklearn.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.

© 2007–2025 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/1.6/modules/generated/sklearn.exceptions.FitFailedWarning.html