log_loss: Logarithmic Loss

Description Usage Arguments Value

Description

log_loss() returns the logarithmic loss obtained from a given prediction and known result. The allow_inf parameter controls whether infinite loss is allowed (default is FALSE). Setting allow_inf to FALSE will cause large but finite penalties at the extremes.

Usage

1
log_loss(act, pred, allow_inf = FALSE)

Arguments

act

actual result(s)

pred

predicted result(s)

allow_inf

whether to allow infinite penalties

Value

the log loss score for this data or series of data


pbulsink/hockeyR documentation built on May 15, 2019, 4:16 p.m.