Learn R Programming

bmrm (version 1.7)

quantileRegressionLoss: The loss function to perform a quantile regression

Description

The loss function to perform a quantile regression

Usage

quantileRegressionLoss(w, x, y, q = 0.5, cache = NULL)

Arguments

w
weight vector where the function have to be evaluated
x
matrix of training instances (one instance by row)
y
numeric vector of values representing the training labels for each instance in x
q
a numeric value in the range [0-1] defining quantile value to consider
cache
if NULL (which is the case at the first call) parameters values are checked

Value

  • a 2 element list (value,gradient) where "value" is the value of the function at point w, and "gradient" is the gradient of the loss function at w

References

Teo et al. Bundle Methods for Regularized Risk Minimization JMLR 2010

See Also

bmrm