Skip to main content

Bestvars feature_selection methods

Project description

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.

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

bestvarspk-0.3.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file bestvarspk-0.3.tar.gz.

File metadata

  • Download URL: bestvarspk-0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for bestvarspk-0.3.tar.gz
Algorithm Hash digest
SHA256 539f2561ea9b9afac6ac450328f266e448adfd271c2f6bf6591cf5e57ef5a5ae
MD5 c57ec10ea240a69c7dfc76de6312c969
BLAKE2b-256 c01deccbfb5b87b45868f9cb8e5e8909db988b452fc689bb34bb2eedb4e2bf2e

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