Description Usage Arguments Value
View source: R/generate_hyperparameters.R
Generate a logarithmic lambda grid
1 | lambda_grid(x, y, n_lambda = 10, min_ratio = 0.01, ...)
|
x |
Design matrix. |
y |
Response vector. |
n_lambda |
Length of the lambda grid. |
min_ratio |
Ratio between the minimum and maximum values in the lambda grid. |
... |
Not used, here for avoiding errors when passing unknown arguments from previous ellipsis. |
a numeric vector of length nlambda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.