getSubgradients: getSubgradients

View source: R/GIST.R

getSubgradientsR Documentation

getSubgradients

Description

Computes the subgradients of a lasso penalized likelihood f(theta) = L(theta)+lambda*p(theta)

Usage

getSubgradients(
  theta,
  jacobian,
  regIndicators,
  lambda,
  lineSearch,
  adaptiveLassoWeightsMatrix
)

Arguments

theta

vector with named parameters

jacobian

derivative of L(theta)

regIndicators

names of regularized parameters

lambda

lambda value

Details

NOTE: Function located in file exact_optimization.R


jhorzek/psydiff documentation built on Sept. 15, 2022, 6:26 a.m.