lassoinf
lassoinf provides selective inference tools leveraging a high-performance C++ backend. It is a hybrid codebase written in Python and C++, utilizing pybind11 for bindings and the Eigen library for fast linear algebra.
Features
- Affine Constraints: Core numerical tools for inference tasks.
- Dual Implementation: Logic provided in pure Python (
lassoinf.affine_constraints) and fast C++ counterparts (lassoinf_cpp). - High Performance: The C++ extensions target C++14 and integrate seamlessly with numpy and scipy.
Requirements
Python
- Python >= 3.10
numpy,scipy,matplotlibmeson-python,ninja,pybind11(for building the extension)
R
- R >= 4.0
Rcpp,RcppEigen
General
- A C++14 compliant compiler
Installation
Python
You can install lassoinf and build its C++ extension directly using pip:
pip install .
For an editable install during development (using the meson-python backend):
pip install --no-build-isolation -Csetup-args=-Dbuildtype=debug -e .
R
The R package lassoinf requires Rcpp, RcppEigen, and R6. You can install the package from the terminal or directly from the source directory.
From the terminal:
# Build and install the package
R CMD INSTALL R_pkg
From within an R session:
# Install required dependencies if not already present
install.packages(c("Rcpp", "RcppEigen", "R6", "mvtnorm"))
# Install the package from the source directory
install.packages("R_pkg", repos = NULL, type = "source")
Or using devtools:
devtools::install("R_pkg")
Testing the R Package
To run the R test suite, you can use the testthat package from the command line:
cd R_pkg
Rscript -e 'testthat::test_dir("tests/testthat")'
Documentation
For more information, refer to the documentation in the docs/ folder. For the R package, you can view the vignette:
vignette("gaussian_lasso_boot", package = "lassoinf")
Alternatively, you can browse the pkgdown documentation site in R_pkg/docs/index.html.
License
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
Release files for lassoinf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lassoinf-0.1.1.tar.gz | 3.2 MB | Details |
Built distributions (wheels)
Total release size: 17.0 MB
Release files / lassoinf-0.1.1.tar.gz
| Download URL | lassoinf-0.1.1.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa86b8bee7e29d6512e0ccece6404ba9bf76afd9b32868e4c7a6711dc3227ac8
|
|
BLAKE2b-256 checksum How to use checksums |
90841fb5d2c06bc75deb13977ab2dcf2d07cacc088181334d03f71a1a898fdf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314t-win_amd64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 356.6 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b1664bcbd41c1faab5a7707595bbc19a2104377f09d59f8b495de7d7fbff13cc
|
|
BLAKE2b-256 checksum How to use checksums |
367ab2485ef56f8d9b5695273701eeedd9d2fa511a25adbeaecba74e2e3d9eed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
fa840a4c0d2b47370074f0de0dbf283b1387e927817e78721ebe5115dfa2b5db
|
|
BLAKE2b-256 checksum How to use checksums |
6700f08f3310bc1ff751488cbf7c50a42e72122b7b2960d39b68c56dbeea6c7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 325.8 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8d367ac613d07c232ba489a5b95406bb2f77cf3953444359e94c0481f8e28f29
|
|
BLAKE2b-256 checksum How to use checksums |
8434a5a7cc3b013f5aab7661b95e5c2ccea0d2fa83093cf72d235d9c1a83de17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 272.9 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
38c83604826f601a92d0fd880031eab081ba0b82e9a349f0498d45e01703afc5
|
|
BLAKE2b-256 checksum How to use checksums |
51e9ecc789c6d90e2098b4221852e172cb152ccc17aa15c86b229cd8678ab716
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314-win_amd64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 354.1 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dc03e0e669420fe43ddb54225f3e14c70a4bf4459d8343f975137c77d0255d02
|
|
BLAKE2b-256 checksum How to use checksums |
8d2d75b1015b240e5e6457c8a9d62b7091fd155753a44bc49d813628479417c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314-musllinux_1_2_x86_64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.14 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a9b4fd93151b9c4b98255dea52b3f51fbbdc688e8ffe668c1dfdc9b610727182
|
|
BLAKE2b-256 checksum How to use checksums |
6a9d41a44080a3d7092086360105531147688f815529999ba74d804940ffe083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 324.5 kB |
| Tags | CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
bc8e1f9465bba2135f383eb8da02183c8052cd62db761e19d1ec15a32823f9cf
|
|
BLAKE2b-256 checksum How to use checksums |
21671fc1dac7d06eca1500c9097b677c15f77615c351920a77b6f2b724e94a19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | lassoinf-0.1.1-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 262.4 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e5ca7d4b9b595db768c62ca5a36fbcfea65531d30e1581f2e9bbfcb19134d32a
|
|
BLAKE2b-256 checksum How to use checksums |
99694d75aea47cc24236b36a58e3f8872a535d32da73180f679c5e24c7998c8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp313-cp313-win_amd64.whl
| Download URL | lassoinf-0.1.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 346.5 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e430ea0b35dadc7242c4fa4ff77410cabacba6755aaaa171a53940a5bb138c3a
|
|
BLAKE2b-256 checksum How to use checksums |
0cee90bdacc0d7a13c9379d63c8239f441a08dee883f4522fc00681f504769ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | lassoinf-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
f8975978cd2bbc178be997e8352877428e00b1538587fd39d4bb70591b7a9923
|
|
BLAKE2b-256 checksum How to use checksums |
18ab87b43792cce32c1d65d1fcec6a21a43a0dd3e83d9c92f83eb90636b637b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lassoinf-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 324.4 kB |
| Tags | CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0c327086bf06182cfc26ef048f942725022912acff0251df2de2d16a8b6548dd
|
|
BLAKE2b-256 checksum How to use checksums |
6ab9c1cd4f46bd21554ae0feaa96297061f9558c77ed681568a92d9523be07f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | lassoinf-0.1.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 262.0 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
acd7a17292a89fd7d1dcedfae4531118d8afc862862733c487c962905a0e449d
|
|
BLAKE2b-256 checksum How to use checksums |
359c4b73576c31ce401a9bea474e1848247aa6034e8190d13e958986a335ae54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp312-cp312-win_amd64.whl
| Download URL | lassoinf-0.1.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 346.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
71972271c717d5ea300afe6ee76c51e110af238a86c0c212d1d701188567f972
|
|
BLAKE2b-256 checksum How to use checksums |
48181a511b329c328d3b835d54506022ab9288bf0f3839918d0a16a8567a25eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | lassoinf-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a5506149950225850c8f051bf96df6fd4c92e546fc374022d45634dd4a8a197f
|
|
BLAKE2b-256 checksum How to use checksums |
64d042c6346e9afd158eafe7cadce7221991e3d25f4625e8cc95a9aa5a625f03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lassoinf-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 325.3 kB |
| Tags | CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b08a5283b4861dddc7655c7228759e0665a4950d3f3879d379ed879f302e2105
|
|
BLAKE2b-256 checksum How to use checksums |
d2c4b560c1f138cdb49967aead8b3f8be45f8ee2b2cd9beffda3947ed34ee547
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | lassoinf-0.1.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 262.0 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3ae86910975a42d294cd7981b3f910820077aee46c7edfabd334a495ec23468c
|
|
BLAKE2b-256 checksum How to use checksums |
1f806bd3a2c0ce4c6a397139edb1a085ae34895b0073e72c2a73ea3f7df68c23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp311-cp311-win_amd64.whl
| Download URL | lassoinf-0.1.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 343.1 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f131bb91d90359b3a8e8a806f7f0ea62446926e5b20d99997b946d1686c5800f
|
|
BLAKE2b-256 checksum How to use checksums |
5e6baf0054219bb2f4eb7dbc08034b2cad8e316315801ac3b448df3a41ad7953
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | lassoinf-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
d86566699926157d5ccae355302682458776d133d8335d0ebd886f96e278c828
|
|
BLAKE2b-256 checksum How to use checksums |
b4fd739cd90d8669968673837a63e2b99911a697c2496c2075ee64116e46e641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lassoinf-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 322.8 kB |
| Tags | CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2c1cd0742e260c6c33c178d3e08140de9dca48466c5bd0ba25a45bc410485183
|
|
BLAKE2b-256 checksum How to use checksums |
110706ebc7fe00624d825ad4fb6c2284cb99e4d98dbbc83e9734c79eed07c2f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | lassoinf-0.1.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 259.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
677f0021e3e190aca8383dfe6cf36afb166f9e36fa55396bbe18a63b8fdb9caf
|
|
BLAKE2b-256 checksum How to use checksums |
e67c4a671a2d9fd91cc246ee65b449cc43c9245253f61f35bc16d93363c0fd2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp310-cp310-win_amd64.whl
| Download URL | lassoinf-0.1.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 343.1 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a109e8cd50a5f7641dd3e14220dc6da5fa2714b3bb05b8c3cd0bfdf2bc3006d7
|
|
BLAKE2b-256 checksum How to use checksums |
5dce08e93208d038a0d7dd058bd9a4209e6ebcf42ad5ea85ec3d5ec79a13c647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | lassoinf-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
86477bedf77c4cb58801d61630c495dab2e0917348f8adbc0716b075096a911e
|
|
BLAKE2b-256 checksum How to use checksums |
fa160ce29292d2ca43305d77bb53ef4dad35e2343ae3643836b20b904fec8c6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lassoinf-0.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 321.3 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5f9e97250d84287f2b1c161d3526b6c8cf0df526bdedddd7394eb3067e5ee060
|
|
BLAKE2b-256 checksum How to use checksums |
6b7d85f1cad309e2c09c85ba3f451df9d95b13b8502bcb416d00bbe831cb37a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / lassoinf-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | lassoinf-0.1.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 257.9 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a5cdbba0ab92f5a793a5621202611c012d27d902a8d288cfef9af8c7edc406a6
|
|
BLAKE2b-256 checksum How to use checksums |
9988bfa23d3c9b681ed1b53bb54c8a716999d14be7b3c114ab01660823775572
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|