R/utils.R
r_square.Rd
\(R^2\) (coefficient of determination)
r_square(y_true, y_pred)
A numeric vector with ground truth values.
A numeric vector with predicted values.