weighted.logloss.integer.md
Logarithmic Loss
Description
safe_logloss <- function(x, y, ...) {
stopifnot(
!anyNA(x), !anyNA(y),
length(x) == length(y)
)
logloss(x, y, ...)
}Usage
## S3 method for class 'integer'
weighted.logloss(actual, response, w, normalize = TRUE, ...)Arguments
Value
References
Examples
Last updated