sklearn.exceptions.UndefinedMetricWarning

class sklearn.exceptions.UndefinedMetricWarning[source]

Warning used when the metric is invalid

Changed in version 0.18: Moved from sklearn.base.

Attributes
args

Methods

with_traceback

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.