sklearn.exceptionsUndefinedMetricWarning

class sklearn.exceptions.UndefinedMetricWarning

[源码]

指标无效时使用的警告

版本0.18中的变化:从sklearn.base移动。

属性 说明
args -

方法

方法 说明
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.