Sparse Linear Multi-Task Regression
Project description
Sparse Linear Multi-Task Regression
Scope
The Python package collasso implements sparse linear multi-task regression with correlation-based information sharing (Rauschenberger, 2026). In contrast to MultiTaskLassoCV from scikit-learn, it supports target-specific feature selection, target-specific feature matrices, and privileged information.
Installation
Install the latest release from PyPI or Anaconda (not yet available):
pip install -U collasso
conda install -c conda-forge collasso
Alternatively, install the development version from GitHub or TestPyPI:
pip install -U git+https://github.com/rauschenberger/collasso.git
pip install -i https://test.pypi.org/simple/ collasso
Usage
Use the class CoopLassoCV to model a multivariate target (n × q matrix Y) based on high-dimensional features (n × p matrix or n × p × q array X), potentially indicating primary and auxiliary features (p-dimensional vector or p × q matrix Z).
from collasso import CoopLassoCV
model = CoopLassoCV()
model.fit(X_train, y_train, Z)
model.coef_ # estimated coefficients
model.predict(X_test) # out-of-sample predictions
Please find the full documentation on the website. The vignette contains examples on multi-task regression with a common feature matrix, multi-task regression with specific feature matrices, and multi-task regression with privileged information.
Reference
Armin Rauschenberger
(2026).
"Sparse linear multi-task regression with correlation-based information sharing".
Manuscript in preparation.
Repository
The source code of this Python package is available on GitHub. This personal GitHub repository is mirrored at two institutional GitLab instances (see LIH and LCSB).
Disclosure
Large-language models (mainly Claude Sonnet 4.6 and Claude Opus 4.6) were used for reviewing Python code and documentation as well as for drafting or reviewing configuration files (.toml and .yaml).
Disclaimer
Copyright © 2026 Armin Rauschenberger; Luxembourg Institute of Health (LIH), Department of Medical Informatics (DMI), Bioinformatics and Artificial Intelligence (BioAI); University of Luxembourg, Luxembourg Centre for Systems Biomedicine (LCSB), Biomedical Data Science (BDS). This Python package is distributed under the BSD-3-Clause license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file collasso-0.1.0.tar.gz.
File metadata
- Download URL: collasso-0.1.0.tar.gz
- Upload date:
- Size: 49.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
864762b8116bb6de93e65fe5c8201a1514fb96aa4f51c0e1d9a83ed6b3ce95d0
|
|
| MD5 |
879c9a8a4c6ec0558978fba1181e9194
|
|
| BLAKE2b-256 |
61c9574c8782e4dd7bcb4c130c319b3918c3e8f4d663f9ae1f45e25951420355
|
Provenance
The following attestation bundles were made for collasso-0.1.0.tar.gz:
Publisher:
pypi.yaml on rauschenberger/collasso
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
collasso-0.1.0.tar.gz -
Subject digest:
864762b8116bb6de93e65fe5c8201a1514fb96aa4f51c0e1d9a83ed6b3ce95d0 - Sigstore transparency entry: 1409436698
- Sigstore integration time:
-
Permalink:
rauschenberger/collasso@032f1c3f9130a272a1ad1d0b00e404e8308ee738 -
Branch / Tag:
refs/tags/v.0.1.0 - Owner: https://github.com/rauschenberger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@032f1c3f9130a272a1ad1d0b00e404e8308ee738 -
Trigger Event:
push
-
Statement type:
File details
Details for the file collasso-0.1.0-py3-none-any.whl.
File metadata
- Download URL: collasso-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a220a973b601863a8c2e02a980425006df86ec97dee5cea93df1bf3ce4647975
|
|
| MD5 |
1d147b245b056e1ce980684595044523
|
|
| BLAKE2b-256 |
1ad9202f1ec0a1a47e01c47c94c95201257814f1cd775e7c17a49dd34659566b
|
Provenance
The following attestation bundles were made for collasso-0.1.0-py3-none-any.whl:
Publisher:
pypi.yaml on rauschenberger/collasso
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
collasso-0.1.0-py3-none-any.whl -
Subject digest:
a220a973b601863a8c2e02a980425006df86ec97dee5cea93df1bf3ce4647975 - Sigstore transparency entry: 1409436703
- Sigstore integration time:
-
Permalink:
rauschenberger/collasso@032f1c3f9130a272a1ad1d0b00e404e8308ee738 -
Branch / Tag:
refs/tags/v.0.1.0 - Owner: https://github.com/rauschenberger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@032f1c3f9130a272a1ad1d0b00e404e8308ee738 -
Trigger Event:
push
-
Statement type: