Package: hal9001 0.4.6

Jeremy Coyle

hal9001: The Scalable Highly Adaptive Lasso

A scalable implementation of the highly adaptive lasso algorithm, including routines for constructing sparse matrices of basis functions of the observed data, as well as a custom implementation of Lasso regression tailored to enhance efficiency when the matrix of predictors is composed exclusively of indicator functions. For ease of use and increased flexibility, the Lasso fitting routines invoke code from the 'glmnet' package by default. The highly adaptive lasso was first formulated and described by MJ van der Laan (2017) <doi:10.1515/ijb-2015-0097>, with practical demonstrations of its performance given by Benkeser and van der Laan (2016) <doi:10.1109/DSAA.2016.93>. This implementation of the highly adaptive lasso algorithm was described by Hejazi, Coyle, and van der Laan (2020) <doi:10.21105/joss.02526>.

Authors:Jeremy Coyle [aut, cre], Nima Hejazi [aut], Rachael Phillips [aut], Lars van der Laan [aut], David Benkeser [ctb], Oleg Sofrygin [ctb], Weixin Cai [ctb], Mark van der Laan [aut, cph, ths]

hal9001_0.4.6.tar.gz
hal9001_0.4.6.zip(r-4.6)hal9001_0.4.6.zip(r-4.5)
hal9001_0.4.6.tgz(r-4.6-x86_64)hal9001_0.4.6.tgz(r-4.6-arm64)hal9001_0.4.6.tgz(r-4.5-x86_64)hal9001_0.4.6.tgz(r-4.5-arm64)
hal9001_0.4.6.tar.gz(r-4.6-arm64)hal9001_0.4.6.tar.gz(r-4.6-x86_64)hal9001_0.4.6.tar.gz(r-4.5-arm64)hal9001_0.4.6.tar.gz(r-4.5-x86_64)
hal9001_0.4.6.tgz(r-4.5-emscripten)
hal9001.pdf |hal9001.html
hal9001/json (API)
NEWS

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

Bug tracker:https://github.com/tlverse/hal9001/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • hal_quotes - HAL9000 Quotes from "2001: A Space Odyssey"

On CRAN:

Conda:

cross-validationlasso-regressionmachine-learning-algorithmsnonparametric-regressioncpp

9.67 score 49 stars 7 packages 430 scripts 2.6k downloads 10 exports 28 dependencies

Last updated from:00fe70f32b. Checks:10 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE270
linux-devel-x86_64NOTE282
source / vignettesOK216
linux-release-arm64NOTE264
linux-release-x86_64NOTE277
macos-devel-arm64NOTE155
macos-devel-x86_64NOTE438
macos-release-arm64NOTE156
macos-release-x86_64NOTE546
windows-develNOTE268
windows-releaseNOTE272
wasm-releaseOK135

Exports:apply_copy_mapenumerate_basisfit_halformula_halhmake_copy_mapmake_design_matrixmake_reduced_basis_mapSL.hal9001squash_hal_fit

Dependencies:abindassertthatclicodetoolsdata.tabledigestforeachfuturefuture.applyglmnetglobalsglueiteratorslatticelifecyclelistenvmagrittrMatrixorigamiparallellyRcppRcppEigenrlangshapestringistringrsurvivalvctrs

Fitting the Highly Adaptive Lasso with hal9001

Rendered fromintro_hal9001.Rmdusingknitr::rmarkdownon Mar 31 2026.

Last update: 2023-11-08
Started: 2017-08-31