feature selection selectpercentile
from sklearn.feature_selection import SelectPercentile, f_classif selectpercentile = SelectPercentile(f_classif, percentile=40) transformed_data=selectpercentile.fit_transform(df, y) transformed_data[:10]
Not a member yet? Register now
Are you a member? Login now