Description Usage Arguments Details
View source: R/sparsebnUtils-lambdas.R
Convenience function for creating a grid of lambdas.
1 2 3 4 5 6 | generate.lambdas(
lambda.max,
lambdas.ratio = 0.001,
lambdas.length = 50,
scale = "linear"
)
|
lambda.max |
Maximum value of lambda; in terms of the algorithm this is the initial value of the regularization parameter in the solution path. |
lambdas.ratio |
Ratio between the maximum lambda value and the minimum lambda value in the solution path. |
lambdas.length |
Number of values to include. |
scale |
Which scale to use: Either |
See Section 5.3 of Aragam and Zhou (2015) for a discussion of regularization paths (also, solution paths).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.