Specify data errors in objective scoring
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 850
- Forks
- 96
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
In [`objective_base.py`](https://github.com/alteryx/evalml/blob/main/evalml/objectives/objective_base.py#L142-L143) we currently have logic to raise an error if `y_true` contains `NaN` or `inf`. However, this logic doesn't allow users to debug properly as there couple be multiple reasons for this error:
- `y_true` contains `NaN`s
- `y_true` contains `inf`
- `y_true` contains `inf` due to float restrictions
AC:
- refactor above logic to specify whether the error is being raised is for `NaNs` or `inf` and output the list/series indices and list/series itself to allow users to debug.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.