Bases: RuntimeError
Raised when a model is used before fitting it.
Source code in src/safeds/exceptions/_ml.py
| class ModelNotFittedError(RuntimeError):
"""Raised when a model is used before fitting it."""
def __init__(self) -> None:
super().__init__("The model has not been fitted yet.")
|