Description Usage Arguments Value Examples
View source: R/optim_ridge_lambda.R
A function that chooses the best lambda for a ridge regression
1 | optim_lamb(X, y, lambdas, folds)
|
X |
The predictors of the ridge regression model |
Y |
The response variable of the ridge regression model |
lambda |
possible penalizing coefficients |
The optimized lambda
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.