Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.clickml.app/llms.txt

Use this file to discover all available pages before exploring further.

Lasso (Least Absolute Shrinkage and Selection Operator) applies L1 regularization, which drives some coefficients exactly to zero. This means Lasso simultaneously trains a model and selects features.

Configuration

ParameterDescriptionDefault
AlphaRegularization strength. Higher = more coefficients pushed to zero.1.0
Fit InterceptWhether to include a bias/intercept term.true
Max IterationsMaximum solver iterations.1000
Random StateSeed for reproducibility.42

Input / Output

Type
InputX Train + Y Train
OutputTrained Model

When to use

Use when you suspect only a subset of your features are truly predictive and want the model to identify them automatically. Scale features before using Lasso.