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.r_corr#

julearn.scoring.metrics.r_corr(y_true, y_pred)#

Compute Pearson product-moment correlation coefficient.

Parameters:
y_trueArrayLike

The true values.

y_predArrayLike

The predicted values.

Returns:
float

Pearson product-moment correlation coefficient.