

def _make_selector(self):
    selector = self._selection_modes[self.mode](score_func=self.score_func)
    possible_params = selector._get_param_names()
    possible_params.remove('score_func')
    selector.set_params(**{
        possible_params[0]: self.param,
    })
    return selector

dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/feature_selection/univariate_selection.py GenericUnivariateSelect._make_selector/original