Skip to main content

BiGLasso-Methods

This package Python provides wrappers for TeraLasso and DNNLasso. As they were originally written in Matlab, you will need Matlab on your machine to run them. It also wraps GmGM and Scikit-Learn's graphical_lasso function, to provide a consistent API for them.

These are included as "git submodules", i.e. we are just wrapping whatever happens to be in their repository.

EiGLasso is not included as it requires compilation of C++ code, which is more complicated to wrap in a PIP-installable module. However it is not too hard to do it manually, and it is a good algorithm; if you wish to use it, check out their github.

This project has a copyleft license, as DNNLasso has a copyleft license. Thus, if you wish to use this as part of a larger project, be aware that you will likely need a copyleft license for such a work (this is not legal advice, read the license to understand what you are entitled to do with this software).

Installation

pip install biglasso-methods

Installation Troubleshooting

If you do not have the latest Matlab version, the install may fail, with an error like:

RuntimeError: MATLAB R2024a installation not found. Install to default location, or add <matlabroot>/bin/maca64 to DYLD_LIBRARY_PATH, where <matlabroot> is the root of a MATLAB R2024a installation.

You can either solve this by installing the newest Matlab version, or finding out which version you have and looking through PyPI to find which matlabengine version corresponds to your Matlab version. For example, I had MATLAB R2023b, which works with matlabengine 9.15, so I ran:

pip install matlabengine==9.15.2
pip install biglasso-methods

Metadata

Release files for BiGLasso-Methods 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BiGLasso-Methods 1.0.2
File Size Uploaded
biglasso_methods-1.0.2.tar.gz 5.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for BiGLasso-Methods 1.0.2
File Interpreter ABI Platform
biglasso_methods-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 MB

Release files / biglasso_methods-1.0.2.tar.gz

Download URL biglasso_methods-1.0.2.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
ab5aab4572ce9ca82cdd63923d526d63899558b54e5c6fdf7ec44bd63b38d38a
BLAKE2b-256 checksum
How to use checksums
bb958baedd6563c7726c550322ec18aab073dfd9a9bde674e7795a9b891aa43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.19

Release files / biglasso_methods-1.0.2-py3-none-any.whl

Download URL biglasso_methods-1.0.2-py3-none-any.whl
Size 6.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
68fca582c51b0d17977da0cb47d314754bce31c8271a150130be15d114e3221b
BLAKE2b-256 checksum
How to use checksums
4fc3f9d4b0967133f2e37a76966a47d837046ef3f5dc54e3552a760b13fcc579
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page