msle: Mean Squared Logarithmic Error (MSLE)

View source: R/msle.R

msleR Documentation

Mean Squared Logarithmic Error (MSLE)

Description

Compute Mean Squared Logarithmic Error (MSLE). #'

Usage

msle(y_real, y_predicted, rowsums = TRUE)

Arguments

y_real

Observed values (integers) to compare with (in matrix format for multiclass classification).

y_predicted

Predicte values (probabiblities by class).

rowsums

Whether in case of multiple classes in dataframe the metrics should be summed across classes before calculating the mean.

Value

integer value of Mean Squared Logarithmic Error (MSLE)


nikitagusarov/performancer documentation built on Jan. 12, 2023, 12:19 a.m.