getSubgradients | R Documentation |
Computes the subgradients of a lasso penalized likelihood f(theta) = L(theta)+lambda*p(theta)
getSubgradients( theta, jacobian, regIndicators, lambda, lineSearch, adaptiveLassoWeightsMatrix )
theta |
vector with named parameters |
jacobian |
derivative of L(theta) |
regIndicators |
names of regularized parameters |
lambda |
lambda value |
NOTE: Function located in file exact_optimization.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.