Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


compboost (version 0.1.0)

LossQuadratic: Quadratic loss for regression tasks.

Description

This loss can be used for regression with yR.

Format

S4 object.

Usage

LossQuadratic$new()
LossQuadratic$new(offset)

Arguments

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.

Details

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_quadratic_loss.html.

Examples

Run this code
# NOT RUN {
# Create new loss object:
quadratic.loss = LossQuadratic$new()
quadratic.loss

# }

Run the code above in your browser using DataLab