EstimatorCheckFailedWarning#

exception sklearn.exceptions.EstimatorCheckFailedWarning(*, estimator, check_name: str, exception: Exception, status: str, expected_to_fail: bool, expected_to_fail_reason: str)[源代码]#

当常见测试的估计器检查失败时,会发出警告。

参数:
estimator估计器对象

估计测试失败的实例。

check_namestr

失败的检查的名称。

exception例外

失败的检查引发异常。

statusstr

检查的状态。

expected_to_failbool

检查是否预计会失败。

expected_to_fail_reasonstr

预期失败的原因。