compute_rmse: Compute Root Mean Squared Error

Description Usage Arguments Value Examples

View source: R/loss_functions.R

Description

Compute Root Mean Squared Error

Usage

1
compute_rmse(prediction, actual)

Arguments

prediction

Numeric vector same length as actual

actual

Numeric vector same length as prediction

Value

Numeric vector length one

Examples

1
2
3
compute_rmse(1:10, 1:10)
compute_rmse(1:10, c(1:9, 1))
compute_rmse(rnorm(10), rnorm(10))

JohnNay/eat documentation built on May 7, 2019, noon