If the search is slow, try RandomizedSearchCV, HalvingGridSearchCV or HalvingRandomSearchCV. - https://scikit-learn.org/stable/auto_examples/model_selection/plot_successive_halving_iterations.html#sphx-glr-auto-examples-model-selection-plot-successive-halving-iterations-py - https://scikit-learn.org/stable/auto_examples/model_selection/plot_successive_halving_heatmap.html#sphx-glr-auto-examples-model-selection-plot-successive-halving-heatmap-py - https://scikit-learn.org/stable/auto_examples/model_selection/plot_randomized_search.html#sphx-glr-auto-examples-model-selection-plot-randomized-search-py If GridSearchCV causes memory issues, try setting `pre_dispatch="n_jobs"`.
If the search is slow, try RandomizedSearchCV, HalvingGridSearchCV or HalvingRandomSearchCV.
If GridSearchCV causes memory issues, try setting
pre_dispatch="n_jobs".