boost_family-class {mboost} | R Documentation |
Objects of class "boost_family" define negative gradients of loss functions to be optimized.
Objects can be created by calls of the form Family(...)
ngradient
:y
and f
implementing the negative gradient of
the loss
function. loss
:y
and f
(to be minimized!). risk
:y
, f
and w
,
the weighted mean of the loss function by default. offset
:y
and w
(weights)
for computing a scalar offset. weights
:fW
:name
:charloss
:Laplace()