Description Usage Arguments Value Author(s) Examples
Optimize the ridge parameter.
1 | cv_ridge(form, d, folds = 10, lambdas)
|
form |
a formula |
d |
a dataframe |
folds |
number of folds |
lambdas |
a vector of ridge penalty term |
the best lambda for ridge regression and a plot
Yijun Yang
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.