Skip to contents

Calculate Mean Relative Error between predictions and truth.

Usage

CalculateMRE(predictions, truth, epsilon = 1e-06)

Arguments

predictions

Numeric vector or matrix of predictions.

truth

Numeric vector or matrix of true values.

epsilon

Numeric. Small value to avoid division by zero. Default is 1e-6.

Value

MRE value.