Rsquare for regresstion tree
이전 댓글 표시
Hey! Does anyone know how I can calculate the rsquare for a regression tree?
Thank you!:)
채택된 답변
추가 답변 (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.
카테고리
도움말 센터 및 File Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!