Language: English
Last updated: 2026-06-14
This page: Model documentation
Switch: Chinese
Language switch: Chinese
AdaptiveLasso provides adaptive L1-penalized linear regression (Zou, 2006). Unlike standard Lasso which uses a uniform penalty, Adaptive Lasso assigns data-driven per-coordinate weights
statgpu.linear_model.AdaptiveLasso
where
- Initialization: Compute initial coefficient estimates via ridge-penalized coordinate descent (matching R glmnet's ridge solver).
-
Weight computation:
$w_j = 1/(|\hat{\beta}_j^{init}| + \varepsilon)^\nu$ with$\nu = 1$ (default). - Weighted L1 solve: Solve the weighted Lasso problem using FISTA with the computed weights.
Under regularity conditions (Zou 2006, Theorem 1):
-
Selection consistency:
$\Pr(\hat{S} = S_0) \to 1$ as$n \to \infty$ - Asymptotic normality: $\sqrt{n}(\hat{\beta}{\hat{S}} - \beta{0,S_0}) \xrightarrow{d} N(0, \Sigma_0)$
where
compute_inference=Falseby default (adaptive_l1 does not support debiased inference)- For inference on selected variables, use the oracle approach: refit OLS on the selected support set
| Parameter | Default | Description |
|---|---|---|
alpha |
1.0 |
Regularization strength |
nu |
1.0 |
Exponent for weight computation (1 or 2, per Zou 2006) |
fit_intercept |
True |
Whether to fit an intercept |
max_iter |
1000 |
Maximum iterations |
tol |
1e-4 |
Convergence tolerance |
device |
"auto" |
cpu / cuda / torch |
solver |
"auto" |
Solver selection |
gpu_memory_cleanup |
False |
CuPy pool cleanup after fit |
from statgpu.linear_model import AdaptiveLasso
# Basic usage
model = AdaptiveLasso(alpha=0.1, nu=1.0)
model.fit(X, y)
print(model.coef_) # sparse coefficients
print(model.score(X, y)) # R-squared
# GPU acceleration
model_gpu = AdaptiveLasso(alpha=0.1, device="cuda")
model_gpu.fit(X, y)- Coefficients:
intercept_,coef_ - Methods:
fit,predict,score - Note:
compute_inference=Trueis not supported for adaptive_l1
dev/tests/test_refactor_safety_net.py(solver convergence tests)
- Zou, H. (2006). The adaptive lasso and its oracle properties. Journal of the American Statistical Association, 101(476), 1418-1429. https://doi.org/10.1198/016214506000000735
- Wang, H., Li, B., & Leng, C. (2009). Shrinkage tuning parameter selection with a diverging number of parameters. Journal of the Royal Statistical Society: Series B, 71(3), 671-683.