Rsquare for regresstion tree
Afficher commentaires plus anciens
Hey! Does anyone know how I can calculate the rsquare for a regression tree?
Thank you!:)
Réponse acceptée
Plus de réponses (1)
Ilya
le 14 Juil 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.
Catégories
En savoir plus sur Gaussian Process Regression dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!