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.