Closed
Description
CrossValSummaryRunner picks up the best model and score from cross validation in the following logic:
- get results from all validation runs
- if all run succeed, get the index of model with best score as return model, if all run's score is NaN or Infinity, uses the first model
- if all run succeed, get the score which is closest to the average score as return training score, if average score is NaN, use the first score (BUG)
The possible place that causes the bug is sometimes the average score can be Infinity, in which case the following function will return -1 and causes an index out of error exception
Related issue
(The label column for this user's dataset is all empty, which is the root cause for this error)