Compute the smallest lambda for which 0 is solution (i.e, the largest lambda of the regularization path). Check the paper for the derivation. Note that in the case of logistic loss, we assume the class coded as 0/1; and in the case of gaussian loss, we consider 1/2*RSS
1 | lambda_max(x, y, family = c("gaussian", "binomial"))
|
x |
Input matrix, of dimension |
y |
Response variable, a vector of length |
family |
Response type. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.