Learn R Programming

GSCAD (version 0.1.0)

NormMax: Normalize dictionary atoms using \(l_{\infty}\) norm

Description

Remove zero columns of D. Then let \(D=(D_1,...,D_p)\). The normalization is done by $$D_ik=D_ik/max_k D_ik, for i=1,...,p.$$ For any D_i, and D_j, if Cor(D_i,D_j)> cor_bnd, one of D_i and D_j is eliminated.

Usage

NormMax(D, cor_bnd = 0.95)

Arguments

D

The dictionary to be normalized.

cor_bnd

An upper bound of the correlation between atoms.

Value

The nomalized dictionary.

Examples

Run this code
# NOT RUN {
D=matrix(rnorm(50),nrow=5)
D=NormMax(D)

# }

Run the code above in your browser using DataLab