Skip to main content

Fractional Ridge Regression

Project description

fracridge

DOI

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
  }


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fracridge-1.4.3.tar.gz (49.4 kB view details)

Uploaded Source

Built Distribution

fracridge-1.4.3-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file fracridge-1.4.3.tar.gz.

File metadata

  • Download URL: fracridge-1.4.3.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for fracridge-1.4.3.tar.gz
Algorithm Hash digest
SHA256 0446d486f00fea02110567fd9df14b8b2a7b155dc72700af9201873ea11c27cc
MD5 959a88ac09bafec33d7f9e6e0bb6dc4a
BLAKE2b-256 fa20c408995df7b2ba879d7e45d2e4c24060b18a98309ce8a57ec4e27bf8b286

See more details on using hashes here.

File details

Details for the file fracridge-1.4.3-py3-none-any.whl.

File metadata

  • Download URL: fracridge-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for fracridge-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0db162286c0ac508b563c6f4fa2157c20327a96e39321a7802bfab9afa81bfeb
MD5 d456fbfc505b49df45d4983cbd344066
BLAKE2b-256 f3795d565bdf67512971bc92f762be8b4234c4742b8c579622cdccfffa3359df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page