BookmarkSubscribeRSS Feed
moshe_ke
Fluorite | Level 6

Hi,

 


Is it possible to know which variables are most important at Random Forest  and how they are selected ?

 

thanks

 

moshe

 

 

 

5 REPLIES 5
Ksharp
Super User
Use Decision Tree PROC HPSPLIT . and Check the documentation, there is already an example to do this .

Example 61.5: Assessing Variable Importance


proc hpsplit data=MBE_Data maxdepth=6;
class Usable Dopant;
model Usable = gTemp aTemp Rot Dopant;
prune none;
run;


moshe_ke
Fluorite | Level 6

Thanks ,

Is there a mathematical description of how the explanatory variables selected,

 

Moshe

Ksharp
Super User
Yes. Check documentation. Like entropy .....
JasonXin
SAS Employee
Hi, Here is sample code to turn on VI in HPFOREST (please see attached .sas code) There is a section "Measure variable importance" that covers the details on the subject including all the math details. VI is sensitive to split method selected. Hope this helps. Jason Xin
JasonXin
SAS Employee
Sorry, my previous post had the format of the sample code messed up. Attached is the sample .sas program for the variable importance option. Thanks. Jason Xin

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1357 views
  • 0 likes
  • 3 in conversation