LR_iter_updateDS: Access the gradient and function value of logistic loss

View source: R/LR_iter_updateDS.R

LR_iter_updateDSR Documentation

Access the gradient and function value of logistic loss

Description

Calculate the gradient and function value of logistic loss of a given point

Usage

LR_iter_updateDS(w, x, y)

Arguments

w

The current estimate of coefficient vector

x

The design matrix

y

The label vector (1,-1 vector)

Details

The current estimate of w was sent to target server and applied on x,y.

Value

The gradient and function value of a given point

Author(s)

Han Cao


transbioZI/dsMTLBase documentation built on Jan. 20, 2025, 8:18 p.m.