hosa.helpers.functions.create_parameter_grid

hosa.helpers.functions.create_parameter_grid(param_grid)[source]

This function generates an iterator that can be traversed through all the parameter value combinations. The order of the generated parameter combinations is deterministic, being done according to the total number of values to try in each parameter in descending order.

Parameters
  • param_grid (dict) – Dictionary with parameters names (str) as keys and lists of

  • values. (parameter settings to try as) –