Calculate the gradient of the smoothed check loss.

grad_smooth_check_loss(x, tau, h = 0.1, kernel = "Gaussian")

Arguments

x

(numeric())
A vector.

tau

(numeric(1L))
A quantile.

h

(numeric(1L))
The bandwith for smoothing.

kernel

(character(1L))
The kernel for smoothing.

Value

The gradient of the smoothed check loss.