lambda_grid: Generate a logarithmic lambda grid

Description Usage Arguments Value

View source: R/generate_hyperparameters.R

Description

Generate a logarithmic lambda grid

Usage

1
lambda_grid(x, y, n_lambda = 10, min_ratio = 0.01, ...)

Arguments

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.

Value

a numeric vector of length nlambda


abichat/zazou documentation built on Sept. 8, 2021, 6:53 a.m.