BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Mike90
Quartz | Level 8

Are there settings or existing SAS code to get the tree-based models to compute Akaike's Information Criterion (AIC)?

 

The target is the number of days, and is an exponential distribution.  Average Squared Error is not appropriate for comparing models that have a non-normal interval target.

 

I would like to compare the tree-based models to neural networks and GLMs in the Model Comparison node.

 

Tree based models: decision tree, random forest, gradient boosting.

 

1 ACCEPTED SOLUTION

Accepted Solutions
MikeStockstill
SAS Employee

The Akaike's Information Criterion (AIC) (Akaike, 1973,1977) uses the log likelihood function for a model with k parameters to select models, choosing the model that maximizes 2(LL — k) or the model that minimizes –2(LL + k).  The tree-based models are non-parametric (there is no k), so there are no settings in the Enterprise Miner nodes that make this computation.

If you know of a formula that gives the computation that you want for the tree-based models, and you are seeking coding suggestions for that formula, please post the formula or a link to it.

 

 

View solution in original post

1 REPLY 1
MikeStockstill
SAS Employee

The Akaike's Information Criterion (AIC) (Akaike, 1973,1977) uses the log likelihood function for a model with k parameters to select models, choosing the model that maximizes 2(LL — k) or the model that minimizes –2(LL + k).  The tree-based models are non-parametric (there is no k), so there are no settings in the Enterprise Miner nodes that make this computation.

If you know of a formula that gives the computation that you want for the tree-based models, and you are seeking coding suggestions for that formula, please post the formula or a link to it.

 

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 9624 views
  • 0 likes
  • 2 in conversation