fracridge 0.4
pip install fracridge==0.4
Released:
Ridge regression with fraction regularization
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (BSD)
- Author: Kendrick Kay and Ariel Rokem
- Maintainer: Ariel Rokem
- Requires: Python >=3.6
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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_
How to cite
"Fractional ridge regression: a fast, interpretable reparameterization of ridge regression", Rokem & Kay (in preparation)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (BSD)
- Author: Kendrick Kay and Ariel Rokem
- Maintainer: Ariel Rokem
- Requires: Python >=3.6
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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 https://pypi.org/project/fracridge/0.4/#files
Showing 1 of 1 file.
File details
Details for the file fracridge-0.4.tar.gz
.
File metadata
- Download URL: fracridge-0.4.tar.gz
- Upload date:
- Size: 92.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
51e11fe8bdac645adffcb79151294e1a13a0adae82d1978c926cd05b457fefa7
|
|
MD5 |
dc63ecd86c9cedd5de9b9b301e7a62ce
|
|
BLAKE2b-256 |
ebb69ede58cde89843a22905564465b6e4761290930bb255d21670180c6c88b1
|
File details
Details for the file fracridge-0.4-py3-none-any.whl
.
File metadata
- Download URL: fracridge-0.4-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
be53ecca6ea8becc3cbbd4027563bdcef3f790b8dde50e9f1165232607e99f0c
|
|
MD5 |
a1949b2d7a26742e1cc79c81e0cf41f7
|
|
BLAKE2b-256 |
276ecb1bc000762310140e1fe72e3d7248dd98465561a3af00a0864261e749fd
|