Learn R Programming

lares (version 4.4)

loglossBinary: Loggarithmic Loss Function for Binary Models

Description

This function calculates Loggarithmic Loss for Binary Models You can define a seed to get the same results every time, but has a default value. You can prevent it from printing the split counter result.

Usage

loglossBinary(tag, score, eps = 1e-15)

Arguments

tag

Vector. Real known label

score

Vector. Predicted value or model's result

eps

Numeric. Epsilon value