EstimatorCheckFailedWarning#

exception sklearn.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.