soft_thresh: Soft thresholding operator.

Description Usage Arguments Details Value Author(s) Examples

Description

Soft thresholding operator.

Usage

1

Arguments

x

β coordinate

kappa

κ value in general or λ_1 for covariance updating

Details

Soft thresholding definition: S(x,κ) = sign(x) (|x| - κ)_{+}

Value

x

value after applying soft thresholding operator

Author(s)

Maintainer: Jonas Striaukas <jonas.striaukas@gmail.com>

Examples

1
2
3
kappa<-0.2
x<-0.7
soft.thresh(x, kappa)

LassoNet documentation built on Jan. 19, 2020, 5:06 p.m.