Package: sparsegl 1.1.1

Daniel J. McDonald

sparsegl: Sparse Group Lasso

Efficient implementation of sparse group lasso with optional bound constraints on the coefficients; see <doi:10.18637/jss.v110.i06>. It supports the use of a sparse design matrix as well as returning coefficient estimates in a sparse matrix. Furthermore, it correctly calculates the degrees of freedom to allow for information criteria rather than cross-validation with very large data. Finally, the interface to compiled code avoids unnecessary copies and allows for the use of long integers.

Authors:Daniel J. McDonald [aut, cre], Xiaoxuan Liang [aut], Anibal Solón Heinsfeld [aut], Aaron Cohen [aut], Yi Yang [ctb], Hui Zou [ctb], Jerome Friedman [ctb], Trevor Hastie [ctb], Rob Tibshirani [ctb], Balasubramanian Narasimhan [ctb], Kenneth Tay [ctb], Noah Simon [ctb], Junyang Qian [ctb], James Yang [ctb]

sparsegl_1.1.1.tar.gz
sparsegl_1.1.1.tar.gz(r-4.7-arm64)sparsegl_1.1.1.tar.gz(r-4.7-x86_64)sparsegl_1.1.1.tar.gz(r-4.6-arm64)sparsegl_1.1.1.tar.gz(r-4.6-x86_64)
sparsegl_1.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
sparsegl/json (API)
NEWS

# Install 'sparsegl' in R:
install.packages('sparsegl', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dajmcdon/sparsegl/issues

Pkgdown/docs site:https://dajmcdon.github.io

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • trust_experts - Trust in scientific experts during the Covid-19 pandemic

On CRAN:

Conda:

fortran

3.62 score 1 packages 28 scripts 867 downloads 15 exports 35 dependencies

Last updated from:9c23391c86. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK249
linux-devel-x86_64OK200
source / vignettesOK237
linux-release-arm64OK208
linux-release-x86_64OK221
wasm-releaseOK123

Exports:%>%cv.sparseglestimate_riskgr_one_normgr_two_normgrouped_one_normgrouped_sp_normgrouped_two_normgrouped_zero_normmake_irls_warmupone_normsp_group_normsparsegltwo_normzero_norm

Dependencies:clicpp11dotCall64dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6RColorBrewerRcppRcppEigenrlangRSpectraS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Getting started with sparsegl

Rendered fromsparsegl.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2024-08-25
Started: 2022-03-07