Bases: Exception
Raised when an untagged table is used instead of a TaggedTable in a regression or classification.
Source code in src/safeds/exceptions/_ml.py
| class UntaggedTableError(Exception):
"""Raised when an untagged table is used instead of a TaggedTable in a regression or classification."""
def __init__(self) -> None:
super().__init__(
(
"This method needs a tagged table.\nA tagged table is a table that additionally knows which columns are"
" features and which are the target to predict.\nUse Table.tag_column() to create a tagged table."
),
)
|
__init__()
Source code in src/safeds/exceptions/_ml.py
| def __init__(self) -> None:
super().__init__(
(
"This method needs a tagged table.\nA tagged table is a table that additionally knows which columns are"
" features and which are the target to predict.\nUse Table.tag_column() to create a tagged table."
),
)
|