all possible combinations of parameters

26

from sklearn.model_selection import ParameterGrid

# Example of parameters and their values to be combined
param_grid = {'parameter_A': [1, 2], 'parameter_B': [True, False]}

print(list(ParameterGrid(param_grid)))

Comments

Submit
0 Comments