Fast Algorithms for Best Subset Selection
Overview
Highly optimized toolkit for approximately solving L0-regularized learning problems (a.k.a. best subset selection). The algorithms are based on coordinate descent and local combinatorial search. For more details, check the paper by Hazimeh and Mazumder (2020) doi:10.1287/opre.2019.1919.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) GenSyntheticLogistic.Rd:46: Lost braces; missing escapes or markup?
46 | 3) Every coordinate yi of the outcome vector y exists in {-1, 1}^n is sampled
| ^
checkRd: (-1) L0Learn-package.Rd:20: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:21: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:22: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:23: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:24: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:25: Lost braces in \itemize; meant \describe ?- NOTE13 NOTENow
- NOTE14 NOTE2026-04-22
- ERROR13 NOTE, 1 ERROR2026-04-18
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 11includes a package overview page
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 9%
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/hazimehh/l0learn on 2026-10-21.
Dependencies
Installing L0Learn adds 24 packages (13 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2023-03-07
- 2.1.0Latest
- archivedRemoved from CRAN2023-02-16issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2021-04-03
- 2.0.32021-04-03 · diff ↗
- archivedRemoved from CRAN2021-03-19check problems were not corrected in time
- 2.0.0
- RR 4.0.0 released · 2020-04-24
- 1.2.02019-08-30 · diff ↗
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2018-07-01
- Total releases
- 9 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("L0Learn")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.