Skip to content

Commit

Permalink
Detailed error msg for cross validations
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicc committed Jan 29, 2018
1 parent 7b51885 commit 70dacdf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ case class CrossValidationFlow(
foldScores = foldScores,
validations = validations)
}
case _ =>
val message = s"Final reduce for cross-validation uses empty datasets"
case (r, gt) =>
val message = s"Final reduce for cross-validation uses empty datasets: Validations = $r, ground truths = $gt"
log.error(message)
Future.failed[CrossValidationScore](new IllegalStateException(message))
}
Expand Down

0 comments on commit 70dacdf

Please sign in to comment.