lq_sg: Super gradient of the Lq penalty function

Description Usage Arguments Value Examples

Description

This function define the super gradient of the Lq penalty. The formula is lq_sg(x) = lambda * q * x^(p-1). Details can be found in https://arxiv.org/abs/1807.04982

Usage

1
lq_sg(x, gamma, lambda)

Arguments

x

a non-negative numeric value

gamma

hyper-tuning parameter

lambda

tuning parameter

Value

the super-gradient of the Lq penalty function

Examples

1
2
3
4
5
## Not run: 
lq_sg(0:9,gamma=1,lambda=5)
lq_sg(0:9,gamma=0.5,lambda=5)

## End(Not run)

YipengUva/RpESCA documentation built on July 2, 2019, 6:41 p.m.