-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
good first issueGood for newcomersGood for newcomersreleasedIncluded in a releaseIncluded in a release
Description
Is your feature request related to a problem?
It is a common error that users pass a Table where a TaggedTable is expected (e.g. to the fit method of models). At the moment this raises an error AttributeError: 'Table' object has no attribute 'features', which neither explains the issue well nor explains how to fix it.
Desired solution
All function that take a TaggedTable as a parameter should raise a custom exception if a Table is passed instead.
- Validation should happen at the start of the execution of the function
- Call the exception
UntaggedTableErrorand add it insafeds.data.tabular.exceptions - Explain what we mean by "tagging" (marking feature columns and target column of a table)
- Point to the
tag_columnmethod ofTableto get aTaggedTable
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersreleasedIncluded in a releaseIncluded in a release
Type
Projects
Status
✔️ Done