SAS Data Science

Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Viya (Machine Learning), SAS Visual Text Analytics, with point-and-click interfaces or programming
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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