Learn R Programming

ldsr (version 0.0.2)

nRMSE: Normalized root-mean-square error

Description

RMSE is normalized by the normalization constant

Usage

nRMSE(yhat, y, normConst)

Arguments

yhat

Model outputs

y

Observations

normConst

The normalization constant

Value

normalized RMSE

Examples

Run this code
# NOT RUN {
x <- rnorm(100)
y <- rnorm(100)
nRMSE(x, y, sd(y))
# }

Run the code above in your browser using DataLab