LogLoss: Logarithmic Loss

Description Usage Arguments Examples

View source: R/LogLoss.R

Description

This function computes the logarithmic loss for binary predictions.

Usage

1
LogLoss(Target, Prediction)

Arguments

Target

A vector of the binary dependent variable.

Prediction

A vector of the predictions.

Examples

1
LogLoss(Data[, Y], Model$fitted.values)

Then-Terence/LXR documentation built on March 12, 2021, 12:04 a.m.