using 5-fold validation for any number of parameters and stopping when we have done enough testing