implement crossValidation in Evaluation.cpp