r_square: R^2 (coefficient of determination)

View source: R/utils.R

r_squareR Documentation

R^2 (coefficient of determination)

Description

R^2 (coefficient of determination)

Usage

r_square(y_true, y_pred)

Arguments

y_true

A numeric vector with ground truth values.

y_pred

A numeric vector with predicted values.


inferCSN documentation built on Sept. 11, 2024, 9:32 p.m.