Description Usage Arguments Value Author(s) References
Compute generalized linear elastic net with coordinate descent.
1 2 | casl_glenet(X, y, lambda, alpha = 1, family = stats::binomial(),
maxit = 10000L, tol = 1e-05)
|
X |
A numeric data matrix. |
y |
Response vector. |
lambda |
The penalty term. |
alpha |
Value from 0 and 1; balance between l1/l2 penalty. |
family |
Instance of an R |
maxit |
Integer maximum number of iterations. |
tol |
Numeric tolerance parameter. |
Regression vector beta of length ncol(X).
Taylor Arnold, Michael Kane, Bryan Lewis.
Taylor Arnold, Michael Kane, and Bryan Lewis. A Computational Approach to Statistical Learning. Chapman & Hall/CRC Texts in Statistical Science, 2019.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.