Rsquare for regresstion tree
Show older comments
Hey! Does anyone know how I can calculate the rsquare for a regression tree?
Thank you!:)
Accepted Answer
More Answers (1)
Ilya
on 14 Jul 2014
R-square is the square of the Pearson correlation between predicted and observed response.
R2 = corr(yobs,yhat)^2
for column-vectors yobs and yhat.
Categories
Find more on Gaussian Process 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!