my code:
for kk in range(1, X_train.shape[1]+1): FS_trans = SelectKBest(mutual_info_classif, k=kk).fit(X_train, y_train) X