LS_iter_updateDS: Access the gradient and function value of least-square loss

View source: R/LS_iter_updateDS.R

LS_iter_updateDSR Documentation

Access the gradient and function value of least-square loss

Description

Calculate the gradient and function value of least-square loss of a given point

Usage

LS_iter_updateDS(w, x, y)

Arguments

w

The current estimate of coefficient vector

x

The design matrix

y

The label 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.