sklearn.feature_selection.SelectKBest¶ class sklearn.feature_selection.SelectKBest(score_func=<function f_classif>, *, k=10)[source]¶ Select features according to the k highest scores. Read more in the User Guide. Parameters: score_funccallable, default=f_classifFunction taking two arrays X and y, and returning a pair of arrays (scores, pvalues) or a single array with scores. Default is f_classif