R2

Luo_Suppe2026-08-15

gma.math.evaluation.R2

function R2(real, pred, axis = 0):

Coefficient of determination.

Parameters:

real: array.

Measured data.

pred: array.

Simulation data.

Optional:

axis = int. Default 0.

The axis to use for calculations.

Returns:

Type: array.


Last Updated 8/15/2026, 8:42:21 AM