W3cubDocs

/scikit-learn

EstimatorCheckFailedWarning

exceptionsklearn.exceptions.EstimatorCheckFailedWarning(*, estimator, check_name:str, exception:Exception, status:str, expected_to_fail:bool, expected_to_fail_reason:str)[source]

Warning raised when an estimator check from the common tests fails.

Parameters:
estimatorestimator object

Estimator instance for which the test failed.

check_namestr

Name of the check that failed.

exceptionException

Exception raised by the failed check.

statusstr

Status of the check.

expected_to_failbool

Whether the check was expected to fail.

expected_to_fail_reasonstr

Reason for the expected failure.

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