sparse inputs for fit_params