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