Hi-LASSO
Hi-LASSO(High-Dimensional LASSO) can theoretically improves a LASSO model providing better performance of both prediction and feature selection on extremely high-dimensional data. Hi-LASSO alleviates bias introduced from bootstrapping, refines importance scores, improves the performance taking advantage of global oracle property, provides a statistical strategy to determine the number of bootstrapping, and allows tests of significance for feature selection with appropriate distribution. In Hi-LASSO will be applied to Use the pool of the python library to process parallel multiprocessing to reduce the time required for the model.
Installation
Hi-LASSO support Python 3.6+, Additionally, you will need numpy, scipy, tqdm and glmnet.
However, these packages should be installed automatically when installing this codebase.
Hi-LASSO is available through PyPI and can easily be installed with a
pip install::
pip install hi_lasso
Documentation
Read the documentation on readthedocs
Quick Start
#Data load
import pandas as pd
X = pd.read_csv('https://raw.githubusercontent.com/datax-lab/Hi-LASSO/master/simulation_data/X.csv')
y = pd.read_csv('https://raw.githubusercontent.com/datax-lab/Hi-LASSO/master/simulation_data/y.csv')
#General Usage
from hi_lasso.hi_lasso import HiLasso
# Create a HiLasso model
hilasso = HiLasso(q1='auto', q2='auto', L=30, alpha=0.05, logistic=False, random_state=None, parallel=False, n_jobs=None)
# Fit the model
hilasso.fit(X, y, sample_weight=None)
# Show the coefficients
hilasso.coef_
Metadata
Release files for hi-lasso 1.0.6
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 |
|---|---|---|---|---|
| hi_lasso-1.0.6.tar.gz | 6.0 kB | Without provenance | Details for hi_lasso-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hi_lasso-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for hi_lasso-1.0.6-py3-none-any.whl |
Total release size: 13.2 kB
Release files / hi_lasso-1.0.6.tar.gz
| Download URL | hi_lasso-1.0.6.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c035f9a96c680aaca256428c029dd47d7da3155e066dc4d925f68346185c5c76
|
|
BLAKE2b-256 checksum How to use checksums |
5de169ad8fbc72493e75f38429c435289554e5ffb0d9c364624754e6e1e03e3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4
|
Release files / hi_lasso-1.0.6-py3-none-any.whl
| Download URL | hi_lasso-1.0.6-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4bfe6c0c486eec956def1e197c75f58840217c371943d5a01da26cbd66b9386
|
|
BLAKE2b-256 checksum How to use checksums |
8b88a8587bb08ac9112e36e6a2d1d322d97f44ff07f1989abdf3bd1e616412da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4
|
Security for hi-lasso 1.0.6
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.