add code to iterate over parameter space and evaluate precision of cross-folds training model