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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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