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 April 13, 2025, 5:11 p.m.