tracts.driver_utils.check_start_params#
- check_start_params(physical_start_params, model_param_names)#
Checks that the number of starting parameters matches the number of model parameters and prints a message about the starting parameters setup.
- Parameters:
physical_start_params (
list[ndarray]) – A list of arrays of starting parameters in physical units, where each array corresponds to a set of starting parameters for one repetition of the optimization. The parameters are ordered according to their order in demographic_model.model_base_parameters.model_param_names (
list[str]) – A list of all parameter names of the demographic model, in the order given by demographic_model.model_base_params.