Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Random Forest for Variable Selection

Occasional Contributor
Posts: 14

Random Forest for Variable Selection


Does anyone know how to use random forest in Enterprise Miner to do variable selection?  I have large number of original variables to start with ranging from 7,000 to 8,000.

I have tried using Variable Clustering Node in EMiner but would love to learn more ways of variable selection for large data set.

Thanks a lot.

Super Contributor
Posts: 337

Re: Random Forest for Variable Selection

Hi Yi-Chun,

By default your HPForest node has the property Variable Selection set to Yes. All you need to do is run an HPForest node, and then connect any other node. The the variables that have an out-of-bag reduction less than or equal to zero get rejected after your HPForest.

good luck!


Occasional Contributor
Posts: 14

Re: Random Forest for Variable Selection

Posted in reply to M_Maldonado

Hi, Miguel:

In your experience, if you have thousands of potential independent variables to start with in your modeling process, what would you try to reduce this huge number to a more manageable list?

Have you seen any method that give you a more predictive model at the end?

What is the state of art in this area right now at SAS?

Ask a Question
Discussion stats
  • 2 replies
  • 2 in conversation