0
$\begingroup$

Im working on stock price direction prediction project and have tried out some models (SVMs and Random Forests).

I used Ransom Forests for feature selection and it actually decreased the performance of Random Forests and SVMs. There was a decrease in performance in cross validation and testing both.

Does this mean that feature selection won't work at all or a different method of feature selection should be implemented?

Please help me understand the intuition behind this and any fix. Thank you.

$\endgroup$
2
  • 1
    $\begingroup$ The fix is fortunately pretty simple. Listen to what you found in cross-validation: don't eliminate the features. $\endgroup$ Commented Apr 10, 2021 at 20:23
  • $\begingroup$ Thanks. Please see the edits $\endgroup$ Commented Apr 10, 2021 at 20:27

1 Answer 1

1
$\begingroup$

This isn't surprising. A model with more features has a richer space of functions to approximate as compared to a function with fewer features. Feature selection, in my own opinion, is not about increasing performance. On the contrary, it is about finding a set of features which does good enough as compared to the model with the full set.

I wrote a small blog post to demonstrate that if you want increased performance, you should engineer features rather than select them. The long and the short of it is that most feature selection approaches did worse than just using the entire data set. The results are just for linear regression, but I think it tells a compelling story.

$\endgroup$
1
  • $\begingroup$ Your blog was really helpful in understanding why feature selection won't always work. Thanks. I would like to know more about splines though. Didn't really get that. Any suggestions on where I can read about it? $\endgroup$ Commented Apr 10, 2021 at 20:51

Your Answer

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

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