估算器檢查失敗警告 (EstimatorCheckFailedWarning)#

例外 sklearn.exceptions.EstimatorCheckFailedWarning(*, estimator, check_name: str, exception: Exception, status: str, expected_to_fail: bool, expected_to_fail_reason: str)[原始碼]#

當來自通用測試的估算器檢查失敗時發出的警告。

參數:
estimator估算器物件

測試失敗的估算器實例。

check_namestr

失敗的檢查名稱。

exceptionException

失敗的檢查引發的例外。

statusstr

檢查的狀態。

expected_to_failbool

是否預期檢查失敗。

expected_to_fail_reasonstr

預期失敗的原因。