Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the What you really need to know section for the big picture.
julearn.scoring.metrics.r2_corr#
- julearn.scoring.metrics.r2_corr(y_true, y_pred)#
- Compute squared Pearson product-moment correlation coefficient. - Parameters:
- y_trueArrayLike
- The true values. 
- y_predArrayLike
- The predicted values. 
 
- Returns:
- float
- The squared Pearson product-moment correlation coefficient.