In the fit method of BaseSuccessiveHalving class, https://github.com/scikit-learn/scikit-learn/blob/95119c13a/sklearn/model_selection/_search_successive_halving.py#L180 The groups parameter is overwritten by None at the end. Line 213: super().fit(X, y=y, **groups=None**, **fit_params)