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

