I am using three feature selection method on a dataset containing 15 inputs. I need to extract the best 5 features. Each of the three method gave a subset of the input dataset, but they are different. How do I take the final subset for predicting the target variable?

  • 2
    $\begingroup$ Train a model and compare the results for each subset of feature $\endgroup$
    – Lelouch
    Jul 18 at 11:54
  • $\begingroup$ Is this a regression or classification problem? $\endgroup$
    – liakoyras
    Jul 18 at 21:03

2 Answers 2


Just to confirm the comment. Use the top features as a method to subset the original data, train the data subset again and then compare the accuracy of each subset for each model performed.

The alternative way in, particularly if you are using regression analysis, is to have independent test samples that have never been through train-test-split. You then apply the different predictive solutions based on the subsets generated by feature selection and perform your own percentage accuracy by comparing the predicted scores against the observed scores.


You may take one of the following approaches:

  1. Brute Force
    You have $ \binom{15}{5} = 3003 $ combinations. If your model training is quick, you may go over all of them and choose the best combination on the score you set.

  2. Greedy
    You may take a greedy approach.
    You find a combination of only 2 features ($ \binom{15}{2} = 105 $) and once you set those 2 you add features one by one.

  3. Features Significance Analysis
    If you model is linear or if you use trees based model you can get the model rank of the features and use that.
    You may use a black box approach by using Shapley Values or other approaches to analysis of the features.

  4. Power Predictive Score (PPS Score)
    While this is not a global method, it is still useful and for complex models probably much better than correlation based analysis.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.