Rsquare for regresstion tree
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(1 个)
Ilya
2014-7-14
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.
2 个评论
Ilya
2014-7-14
yobs and yhat are vectors of observed and predicted response values. You already have them. You can find definitions of R2 in many places such as Wikipedia or textbooks.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Gaussian Process Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!