EstimatorCheckFailedWarning#
- exception sklearn.exceptions.EstimatorCheckFailedWarning(*, estimator, check_name: str, exception: Exception, status: str, expected_to_fail: bool, expected_to_fail_reason: str)[source]#
当通用测试中的估计器检查失败时发出的警告。
- 参数:
- estimator估计器对象
测试失败的估计器实例。
- check_name字符串
失败的检查的名称。
- exception异常
失败的检查引发的异常。
- status字符串
检查的状态。
- expected_to_fail布尔值
检查是否预期会失败。
- expected_to_fail_reason字符串
预期失败的原因。