UndefinedMetricWarning#

exception sklearn.exceptions.UndefinedMetricWarning[source]#

Warning used when the metric is invalid

Changed in version 0.18: Moved from sklearn.base.