W3cubDocs

/scikit-learn

sklearn.exceptions.UndefinedMetricWarning

class sklearn.exceptions.UndefinedMetricWarning [source]

Warning used when the metric is invalid

Changed in version 0.18: Moved from sklearn.base.

© 2007–2016 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.exceptions.UndefinedMetricWarning.html