checkL1Optimality: check whether l1 optimality

Description Usage Arguments Value

Description

check wehther a subgradient of a l1 penalty is optimal

Usage

1
checkL1Optimality(subgradient, sgn)

Arguments

subgradient

subgraident of l1-norm

sgn

sign of the corresponding sub gradient

Value

2-norm whose value indicate optimality violation


sverchkov/BaselineRegularization documentation built on May 9, 2019, 1:26 p.m.