from sklearn.feature_selection import SelectKBest, chi2 # Assuming X and y are your input features and target labels, respectively # Select the top 10 features selector = SelectKBest(score_func=chi2, k=10) # X_new contains the selected features X_new = selector.fit_transform(X, y) __ __