A bound on the cross-validation estimate for algorithm assessment