GLMNETHyperparameters
VariantElastic net (glmnet).
Raw JSONv1
Properties
alphanumber | object≥ 0≤ 1Elastic net mixing parameter (0 = ridge, 1 = lasso).
familystring | nullGLM family. Unset sets it from the outcome type.
one of
"gaussian""binomial""poisson""multinomial""cox""mgaussian"nulloffsetarray | null≥ 1 itemsOffset. Must have one value per case.
which_lambda_cvstringWhich cross-validated lambda to use for prediction.
one of
"lambda.1se""lambda.min"nlambdainteger≥ 1Number of lambda values.
lambdaarray | null≥ 1 itemsRegularization strength. Unset lets the backend's internal cross-validation determine it during tuning.
penalty_factorarray | null≥ 1 itemsPenalty factor, one per feature.
standardizebooleanStandardize features.
interceptbooleanInclude intercept.
ifwboolean | objectInverse Frequency Weighting in classification.
lambda.minnumber | null> 0Lambda minimizing cross-validated error.
lambda.1senumber | null> 0Largest lambda within one standard error of the minimum.
Relationships
Used by