Fractional Ridge Regression
Project description
fracridge
Is an implementation of fractional ridge regression (FRR).
Installation:
MATLAB
Download and copy the files from the [https://github.com/nrdg/fracridge/tree/master/matlab](MATLAB directory) into your MATLAB path.
Python
To install the release version:
pip install fracridge
Or to install the development version:
pip install -r requirements.txt
pip install .
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
}
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
Hashes for fracridge-1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc196678320a6a13a62469d8a55ded30fc3bc15a16796ea2df4b7d6cb603ba02 |
|
MD5 | a42668bc063409c9984d67faffa03de2 |
|
BLAKE2b-256 | a91ce6459133b6955481efeed27526546d3786b0a652b533794a7b8659570ced |