mlresearch.utils.check_pipelines

mlresearch.utils.check_pipelines(*objects_list, random_state, n_runs)[source]

Extract estimators and parameter grids to be passed to ModelSearchCV. This enables searching over any sequence of parameter settings and objects.

Returns:
estimatorsList of Pipelines with all combinations among the passed lists of

objects.

param_gridsList of dictionaries with estimator and parameter names (str) as

keys and lists of parameter settings to try as values.