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

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.