change eval_predictions to avoid zero division