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!