

def _check_params(self, X, y):
    if (not ((self.k == 'all') or (0 <= self.k <= self.shape[1]))):
        raise ValueError(("k should be >=0, <= n_features; got %r.Use k='all' to return all features." % self.k))

dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/feature_selection/univariate_selection.py SelectKBest._check_params/VarMisuse@33/38 `X`->`self`