UndefinedMetricWarning# 异常 sklearn.exceptions.UndefinedMetricWarning[源代码]# 当度量无效时使用的警告 0.18 版本新增:从 sklearn.base 移动。