NotFittedError
NotFittedError
- class NotFittedError
Exception class to raise if estimator is used before fitting.
This class inherits from both
ValueErrorandAttributeErrorto help with exception handling.- Attributes:
- args
nameattribute name
objobject
References
[1]Based on scikit-learn’s NotFittedError
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.

