Learn R Programming

Laurae (version 0.0.0.9001)

LogLoss: Fast Logarithmic Loss (logloss) computation

Description

This function computes the Logarithmic Lost fast.

Usage

LogLoss(preds, labels, eps = 1e-15)

Arguments

preds
Type: numeric. The predictions.
labels
Type: numeric. The labels (0, 1).
eps
Type: numeric. The shrinkage between the 0 and 1's bounds.

Value

The Logarithmic Loss.