MultiLogLoss: MultiLogLoss

Description Usage Arguments Value Examples

Description

Returns the Logarithmic Loss for multi class classification problem.

Usage

1
MultiLogLoss(Y, Y_hat)

Arguments

Y

Ground truth numeric vector.

Y_hat

Predicted Labels numeric vector.

Value

A numeric value corresponding to the LogLoss of binary classification problem

Examples

1
2
3
Y = sample(x = c(1,2), size = 10, replace = TRUE)
Y_hat = sample(x = c(1,2), size = 10, replace = TRUE)
MultiLogLoss(Y = Y, Y_hat = Y_hat)

PauloCirino/MLAT documentation built on May 13, 2019, 1:22 p.m.