Learn R Programming

ModelMetrics (version 1.2.2.2)

mlogLoss: Multiclass Log Loss

Description

Calculated the multi-class log loss

Usage

mlogLoss(actual, predicted)

Arguments

actual

A vector of the labels. Can be numeric, character, or factor

predicted

matrix of predicted values. Can be matrix, data.frame