sklearn.exceptions.ConvergenceWarning

class sklearn.exceptions.ConvergenceWarning[source]

Custom warning to capture convergence problems

Changed in version 0.18: Moved from sklearn.utils.

Attributes:
args

Methods

add_note

Exception.add_note(note) -- add a note to the exception

with_traceback

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

add_note()

Exception.add_note(note) – add a note to the exception

with_traceback()

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

Examples using sklearn.exceptions.ConvergenceWarning