Description Usage Arguments Value Examples
This function finds the lambda which gives the lowest loss.
1 | ridge_hw2d(form, d, lambda_vals, contrasts = NULL)
|
form |
linear model formula |
d |
data frame |
lambda_vals |
the lambda values (regularization parameter) |
contrasts |
optional list of constants for factor variables aka contrast |
The minimum loss and the lambda associated with it
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.