TLC | R Documentation |
Using Difference Convex (DC) method to solve minimization problem with Truncated L1 Constraint.
TLC(
Y,
X,
K,
tau = 1e-05,
tlc_weight = rep(1, ncol(X)),
maxit_tlc = 100,
tol_tlc = 1e-05
)
Y |
Response vector of length n. |
X |
Design matrix with n rows and p columns. |
K |
Constraint parameter in TLC. |
tau |
Parameter tau in TLC. |
tlc_weight |
Length p vector of weights corresponding to p variables, each element is either 1 (with constraint) or 0 (without constraint). Default are all 1's. |
maxit_tlc |
Maximum number of DC iteration. |
tol_tlc |
Convergence tolerance for TLC. |
beta: a vector of length p containing estimated coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.