powered by
This loss can be used for regression with \(y \in \mathrm{R}\).
S4 object.
S4
LossAbsolute$new() LossAbsolute$new(offset)
offset
numeric(1)
Numerical value which can be used to set a custom offset. If so, this value is returned instead of the loss optimal initialization.
This class is a wrapper around the pure C++ implementation. To see the functionality of the C++ class visit https://schalkdaniel.github.io/compboost/cpp_man/html/classloss_1_1_absolute_loss.html.
C++
# NOT RUN { # Create new loss object: absolute.loss = LossAbsolute$new() absolute.loss # }
Run the code above in your browser using DataLab