gradient: Gradient of the loss function

View source: R/utils.R

gradientR Documentation

Gradient of the loss function

Description

Gradient of the loss function

Usage

gradient(beta, X, y)

Arguments

beta

[numeric] Point where to evaluate the gradient

X

[numeric] Design matrix

y

[numeric] Observed response vector

Value

[numeric] Gradient of loss function in linear models


LGhilotti/CLLPackage documentation built on April 23, 2022, 3:48 a.m.