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