Description Usage Arguments Examples
View source: R/lambda_optimizer.R
This function optimizes the ridge parameter by comparing the mean value of residuals
1 | lambda_optimizer(form, data, v, lambdas)
|
form |
A formula |
data |
The dataset that we use to fit the model |
v |
Number of folds in cross-validation |
lambdas |
A vector of lambdas |
1 | lambda_optimizer(form=form,data=iris,v=10,lambdas=lambdas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.