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

with_traceback

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.

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