Merge the parfor modification for predict metric evaluation.