reg_param is a float