sklearn.exceptions.InconsistentVersionWarning

class sklearn.exceptions.InconsistentVersionWarning(*, estimator_name, current_sklearn_version, original_sklearn_version)[source]

Warning raised when an estimator is unpickled with a inconsistent version.

Parameters:
estimator_namestr

Estimator name.

current_sklearn_versionstr

Current scikit-learn version.

original_sklearn_versionstr

Original scikit-learn version.

Attributes:
args

Methods

add_note(object, /)

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

with_traceback(object, /)

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

add_note(object, /)

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

with_traceback(object, /)

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