sklearn.exceptions.UndefinedMetricWarning

class sklearn.exceptions.UndefinedMetricWarning

Warning used when the metric is invalid

Changed in version 0.18: Moved from sklearn.base.