Regression tree and AIC
1 view (last 30 days)
Show older comments
Hello.
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?
0 Comments
Answers (1)
Peter Cook
on 8 Apr 2019
The default optimizer is Bayesian, could you extract the BIC & rescale it to AIC?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!