regression.check_parameters function

Check regression parameters