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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1421 views
  • 0 likes
  • 3 in conversation