Description Usage Arguments Value Author(s) References
Update beta vector using coordinate descent.
1 | casl_lenet_update_beta(X, y, lambda, alpha, b, W)
|
X |
A numeric data matrix. |
y |
Response vector. |
lambda |
The penalty term. |
alpha |
Value from 0 and 1; balance between l1/l2 penalty. |
b |
A vector of warm start coefficients for the algorithm. |
W |
A vector of sample weights. |
A matrix of regression vectors with ncol(X) columns and length(lambda_vals) rows.
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.