logloss.md
Logarithmic Loss
Description
safe_logloss <- function(x, y, ...) {
stopifnot(
!anyNA(x), !anyNA(y),
length(x) == length(y)
)
logloss(x, y, ...)
}Usage
## Generic S3 method
## for Logarithmic Loss
logloss(...)
## Generic S3 method
## for weighted Logarithmic Loss
weighted.logloss(...)Arguments
Value
References
Examples
Last updated