MATLAB Answers

Regression tree and AIC

2 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?


Sign in to comment.

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.

Sign in to answer this question.