Specify data errors in objective scoring
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 850
- Forks
- 96
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.