Description Usage Arguments Value Examples
Set up a lambda sequence
1 2 | setup_lambda(X, y, family = "gaussian", lambda.min.ratio = 1e-04,
nlambda = 100)
|
X |
matrix of explanatory variables |
y |
vector of objective variable |
family |
family of regression: "gaussian" (default) or "binomial" |
lambda.min.ratio |
ratio of max lambda and min lambda |
nlambda |
the number of lambda (ignored if lambda is specified) |
lambda
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.