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