fracridge
Is an implementation of fractional ridge regression (FRR).
Installation:
MATLAB
Download and copy the files from https://github.com/nrdg/fracridge/tree/master/matlab into your MATLAB path.
Python
To install the release version:
pip install fracridge
Or to install the development version (and stay up-to-date by pulling from GitHub):
pip install -e .
To upgrade to newer release version:
pip install -U fracridge
Usage
MATLAB
[coef,alphas] = fracridge(X,fracs,y,tol,mode)
Python
There's a functional API:
from fracridge import fracridge
coefs, alphas = fracridge(X, y, fracs)
Or a sklearn-compatible OO API:
from fracridge import FracRidge
fr = FracRridge(fracs=fracs)
fr.fit(X, y)
coefs = fr.coef_
alphas = fr.alpha_
Online documentation
https://nrdg.github.io/fracridge/
How to cite
If you use fracridge, please cite our paper: "Fractional ridge regression: a fast, interpretable
reparameterization of ridge regression" (2020) GigaScience, Volume 9, Issue 12, December 2020, https://doi.org/10.1093/gigascience/giaa133 link.
For your convenience, here is the bibtex entry
@ARTICLE{fracridge2020,
title = "Fractional ridge regression: a fast, interpretable
reparameterization of ridge regression",
author = "Rokem, Ariel and Kay, Kendrick",
journal = "Gigascience",
volume = 9,
number = 12,
month = nov,
year = 2020
}
Metadata
Release files for fracridge 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fracridge-3.0.tar.gz | 51.6 kB | Without provenance | Details for fracridge-3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fracridge-3.0-py3-none-any.whl | Python 3 | none | any | Details for fracridge-3.0-py3-none-any.whl |
Total release size: 65.2 kB
Release files / fracridge-3.0.tar.gz
| Download URL | fracridge-3.0.tar.gz |
|---|---|
| Size | 51.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9df5c433381bd6e80d7bb5bc384865e03b5b9f6c20e6b252c5e095b2e73fe21
|
|
BLAKE2b-256 checksum How to use checksums |
2f976238aeba4c47c3b4b205fca314d79467c2c49cc22a4bb39a979f7e084440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / fracridge-3.0-py3-none-any.whl
| Download URL | fracridge-3.0-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc35bf291e6f217735600b5633e6d598186e2d07c2624f499b2fb44cabfaa0bb
|
|
BLAKE2b-256 checksum How to use checksums |
fcde09b12d027f814e552ef871ec0f15e1f2fbe4ddced3180f999742a8984e9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for fracridge 3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.