UndefinedMetricWarning# exception sklearn.exceptions.UndefinedMetricWarning# 警告用于当指标无效时 Changed in version 0.18: 从 sklearn.base 移动。