msle: Mean Squared Log Error

Description Usage Arguments Value Author(s) Examples

Description

test

Usage

1
2
3
mtr_mean_squared_log_error(actual, predicted)

mtr_msle(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, 5, 2.5, 7)
pred <- c(2.5, 5, 4, 8)
mtr_mean_squared_log_error(act, pred)

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