Package: adelie 1.0.7

Trevor Hastie

adelie: Group Lasso and Elastic Net Solver for Generalized Linear Models

Extremely efficient procedures for fitting the entire group lasso and group elastic net regularization path for GLMs, multinomial, the Cox model and multi-task Gaussian models. Similar to the R package 'glmnet' in scope of models, and in computational speed. This package provides R bindings to the C++ code underlying the corresponding Python package 'adelie'. These bindings offer a general purpose group elastic net solver, a wide range of matrix classes that can exploit special structure to allow large-scale inputs, and an assortment of generalized linear model classes for fitting various types of data. The package is an implementation of Yang, J. and Hastie, T. (2024) <doi:10.48550/arXiv.2405.08631>.

Authors:James Yang [aut, cph], Trevor Hastie [aut, cph, cre], Balasubramanian Narasimhan [aut]

adelie_1.0.7.tar.gz
adelie_1.0.7.zip(r-4.5)adelie_1.0.7.zip(r-4.4)adelie_1.0.7.zip(r-4.3)
adelie_1.0.7.tgz(r-4.5-x86_64)adelie_1.0.7.tgz(r-4.5-arm64)adelie_1.0.7.tgz(r-4.4-x86_64)adelie_1.0.7.tgz(r-4.4-arm64)adelie_1.0.7.tgz(r-4.3-x86_64)adelie_1.0.7.tgz(r-4.3-arm64)
adelie_1.0.7.tar.gz(r-4.5-noble)adelie_1.0.7.tar.gz(r-4.4-noble)
adelie.pdf |adelie.html
adelie/json (API)
NEWS

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

Bug tracker:https://github.com/jamesyang007/adelie-r/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

cppopenmp

5.86 score 6 stars 3 scripts 412 downloads 35 exports 14 dependencies

Last updated 8 days agofrom:ad9e782e52. Checks:11 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 28 2025
R-4.5-win-x86_64OKFeb 28 2025
R-4.5-mac-x86_64OKFeb 28 2025
R-4.5-mac-aarch64OKFeb 28 2025
R-4.5-linux-x86_64OKFeb 28 2025
R-4.4-win-x86_64OKFeb 28 2025
R-4.4-mac-x86_64OKFeb 28 2025
R-4.4-mac-aarch64OKFeb 28 2025
R-4.3-win-x86_64OKFeb 28 2025
R-4.3-mac-x86_64OKFeb 28 2025
R-4.3-mac-aarch64OKFeb 28 2025

Exports:coef.glintnetcoef.grpnetconstraint.boxcv.glintnetcv.grpnetgaussian_covglintnetglm.binomialglm.coxglm.gaussianglm.multigaussianglm.multinomialglm.poissongrpnetio.snp_phased_ancestryio.snp_unphasedmatrix.block_diagmatrix.concatenatematrix.convex_relumatrix.densematrix.eager_covmatrix.interactionmatrix.kronecker_eyematrix.lazy_covmatrix.one_hotmatrix.snp_phased_ancestrymatrix.snp_unphasedmatrix.sparsematrix.standardizematrix.subsetplot.grpnetpredict.glintnetpredict.grpnetprint.cv.grpnetset_configs

Dependencies:clidigestgluelatticelifecyclemagrittrMatrixr2rRcppRcppEigenrlangstringistringrvctrs

An Introduction to adelie

Rendered fromadelie.Rmdusingknitr::rmarkdownon Feb 28 2025.

Last update: 2025-02-28
Started: 2024-06-13

Readme and manuals

Help Manual

Help pageTopics
Create a box constraint for a group.constraint.box
Cross-validation for glintnetcv.glintnet
Cross-validation for grpnetcv.grpnet
Solves group elastic net via covariance method.gaussian_cov
fit a GLM interaction model with group lasso or group elastic-net regularizationglintnet
Creates a Binomial GLM family object.glm.binomial
Creates a Cox GLM family object.glm.cox
Creates a Gaussian GLM family object.glm.gaussian
Creates a MultiGaussian GLM family object.glm.multigaussian
Creates a Multinomial GLM family object.glm.multinomial
Creates a Poisson GLM family object.glm.poisson
fit a GLM with group lasso or group elastic-net regularizationgrpnet
IO handler for SNP phased, ancestry matrix.io.snp_phased_ancestry
IO handler for SNP unphased matrix.io.snp_unphased
Creates a block-diagonal matrix.matrix.block_diag
Creates a concatenation of the matrices.matrix.concatenate
Creates a feature matrix for the convex relu problem.matrix.convex_relu
Creates a dense matrix object.matrix.dense
Creates an eager covariance matrix.matrix.eager_cov
Creates a matrix with pairwise interactions.matrix.interaction
Creates a Kronecker product with an identity matrix.matrix.kronecker_eye
Creates a lazy covariance matrix.matrix.lazy_cov
Creates a one-hot encoded matrix.matrix.one_hot
Creates a SNP phased, ancestry matrix.matrix.snp_phased_ancestry
Creates a SNP unphased matrix.matrix.snp_unphased
Creates a sparse matrix object.matrix.sparse
Creates a standardized matrix.matrix.standardize
Creates a subset of the matrix along an axis.matrix.subset
plot the cross-validation curve produced by cv.glintnetplot.cv.glintnet plot.cv.grpnet
plot coefficients from a "grpnet" objectplot.grpnet
make predictions from a "cv.glintnet" object.coef.cv.glintnet predict.cv.glintnet
make predictions from a "cv.grpnet" object.coef.cv.grpnet predict.cv.grpnet
make predictions from a "glintnet" object.coef.glintnet predict.glintnet
make predictions from a "grpnet" object.coef.grpnet predict.grpnet
print a cross-validated grpnet objectprint.cv.grpnet
Print a summary of the glintnet path at each step along the path.print.glintnet
print a grpnet objectprint.grpnet
Set configuration settings.set_configs