Specify data errors in objective scoring
Aperta
- Lingua principale
- Python
- Stelle
- 850
- Fork
- 96
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.