mtr_root_mean_squared_error: Root Mean Squared Error Function

Description Usage Arguments Value Author(s) Examples

View source: R/regression.r

Description

test

Usage

1
mtr_root_mean_squared_error(actual, predicted)

Arguments

actual

[numeric] The ground truth numeric vector.

predicted

[numeric] The predicted numeric vector, where each element in the vector is a prediction of the corresponding elements in actual.

Value

A numeric scalar output

Author(s)

An Chu

Examples

1
2
3
act <- c(3, -0.5, 2, 7)
pred <- c(2.5, 0.0, 2, 8)
mtr_mean_squared_error(act, pred)

chuvanan/metrics documentation built on Nov. 4, 2019, 8:52 a.m.