mlresearch.utils.check_pipelines_wrapper

mlresearch.utils.check_pipelines_wrapper(*objects_list, wrapper, random_state, n_runs, estimator_param='classifier', wrapped_only=True)[source]

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

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

of objects.

wrapped_param_gridsList of dictionaries with estimator and parameter names

(str) as keys and lists of parameter settings to try as values.