Showing results for 
Search instead for 
Did you mean: 

The meaning of the R squared

The meaning of the R squared



I have a question about R squared.

What is the difference between the "Coefficient of determination" on the Evaluate>Residuals display, "Validation", and "Cross Validation" on the Metric of Leaderboard?

How to calculate the "Coefficient of determination(r^2)" on the Rediduals?



Labels (1)
1 Reply
DataRobot Employee
DataRobot Employee

Hi @cookie_yamyam ,


Thank you for the question.


The difference between the two metrics is that the one displayed under Evaluate>Residuals is based on a sample of 1000 points while the R2 on the leaderboard is calculated on the entire data within the validation folds. 

If you hover over the 'i' icon next to the coefficient of determination, the same information is mentioned


The sample of 1000 points is also used in the visualizations of Residuals in the Evaluate>Residuals