NotFittedError#

class NotFittedError[source]#

Exception class to raise if estimator is used before fitting. This class inherits from both ValueError and AttributeError to help with exception handling and backward compatibility.

Attributes
args

References

..[1] Based on scikit-learn’s NotFittedError

Methods

with_traceback

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

with_traceback()[source]#

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