Best Variables for classification and regression models
The objective of this packege is to simplify the usage of methods to make feature selection.
The Package bestvarspk is a Python module for machine learning built based on top of sklearn feature_selection and is distributed under the license.
The project was started in 2020 by Gutelvam as a Udacity Nanodegree of project.
Installation
Dependencies
bestvars_pk requires:
-Python (>= 3.6)
-NumPy (>= 1.13.3)
-SciPy (>= 0.19.1)
-joblib (>= 0.11)
-threadpoolctl (>= 2.0.0)
-scikit-learn (>=0.23.1)
-matplotlib(>=3.2.2)
-seaborn(>=0.10.1)
-pandas(>=1.0.3)
User installation
If you already have a working installation of scikit-learn, the easiest way to install is using pip:
!pip install bestvarspk
How to use
1. Instantiate an objet 'Selection'
from bestvarspk.Variables_selection import Selection
obj = Selecton(df, target)
where:
df is a dataframe
target is a string of target column name
2. Use methods available.
obj.corr_features()
obj.importance_features()
obj.rfe_features()
obs: Anytime you can check for help(?) to check docstrings.
Release files for bestvarspk 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bestvarspk-0.3.tar.gz | 3.5 kB | Details |
Release files / bestvarspk-0.3.tar.gz
| Download URL | bestvarspk-0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
539f2561ea9b9afac6ac450328f266e448adfd271c2f6bf6591cf5e57ef5a5ae
|
|
BLAKE2b-256 checksum How to use checksums |
c01deccbfb5b87b45868f9cb8e5e8909db988b452fc689bb34bb2eedb4e2bf2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2
|