Description Usage Arguments Value Examples
Fit a model using a design matrix
1 2 |
X |
matrix of explanatory variables |
y |
vector of objective variable |
family |
family of regression: "gaussian" (default) or "binomial" |
impl |
implementation language of optimization: "cpp" (default) or "r" |
lambda.min.ratio |
ratio of max lambda and min lambda (ignored if lambda is specified) |
nlambda |
the number of lambda (ignored if lambda is specified) |
lambda |
lambda sequence |
warm |
warm start direction: "lambda" (default) or "delta" |
... |
parameters for optimization |
lasso model
beta |
coefficients |
beta_standard |
standardized coefficients |
a0 |
intercepts |
lambda |
regularization parameters |
alpha |
alpha defined above |
delta |
delta defined above |
family |
family |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.