Learn R Programming

logicDT (version 1.0.5)

calcNRMSE: Calculate the NRMSE

Description

Computation of the normalized root mean squared error.

Usage

calcNRMSE(preds, y, type = "sd")

Value

The NRMSE

Arguments

preds

Numeric vector of predictions

y

True outcomes

type

"sd" uses the standard deviation of y for normalization. "range" uses the whole span of y.