smooth_check_loss: Smoothed check loss

View source: R/loss_functions.R

smooth_check_lossR Documentation

Smoothed check loss

Description

Calculate the smoothed check loss.

Usage

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 average smoothed check loss.


SvenKlaassen/qboost documentation built on Nov. 8, 2022, 12:13 p.m.