Specify data errors in objective scoring
オープン
- 主要言語
- Python
- スター
- 850
- フォーク
- 96
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
評価
この issue はまだ評価されていません。