buildLambda | R Documentation |
Auxiliary function to generate suitable lambda parameters
buildLambda(
lambdaLargest = NULL,
xdata = NULL,
ydata = NULL,
family = NULL,
ordersOfMagnitudeSmaller = 3,
lambdaPerOrderMagnitude = 150,
lambda.largest = deprecated(),
orders.of.magnitude.smaller = deprecated(),
lambda.per.order.magnitude = deprecated()
)
lambdaLargest |
numeric value for largest number of lambda to consider (usually with a target of 1 selected variable) |
xdata |
X parameter for glmnet function |
ydata |
Y parameter for glmnet function |
family |
family parameter to glmnet function |
ordersOfMagnitudeSmaller |
minimum value for lambda (lambda.largest / 10^orders.of.magnitude.smaller) |
lambdaPerOrderMagnitude |
how many lambdas to create for each order of magnitude |
lambda.largest |
|
orders.of.magnitude.smaller |
|
lambda.per.order.magnitude |
a numeric vector with suitable lambdas
buildLambda(5.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.