Clear Filters
Clear Filters

Regression tree and AIC

5 views (last 30 days)
Milica M
Milica M on 8 Apr 2019
Commented: Milica M on 8 Apr 2019
I have 20 predictors and some of them are correlated. I also have to fit a regression tree and choose best predictors using AIC. I used fitrtree, but I don't know how to calculate AIC. Could someone please help?

Answers (1)

Peter Cook
Peter Cook on 8 Apr 2019
The default optimizer is Bayesian, could you extract the BIC & rescale it to AIC?
  1 Comment
Milica M
Milica M on 8 Apr 2019
How can I do that?
I am sorry, this is new to me :)

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!