Skip to main content

Performaning feature selection in forward stepwise selection maner.

Project description

Open Source Love PyPI version MIT Licence

ForwardStepwiseFeatureSelection aims to select the best features or the subset of features in machine learning tasks according to corresponding score with other incredible packages like numpy, pandas and sklearn.

This package is inspired by: PyData DC 2016 | A Practical Guide to Dimensionality Reduction Vishal Patel October 8, 2016

It requires at least six arguments to run:

Optional arguments:

  • max_trial (int): number of trials that you wanted RFS to stop searching
  • tolerance (int): how many times RFS can fail to find better subset of features
  • least_gain (int): threshold of scoring metrics gain in fraction
  • max_feats (int): maximum number of features
  • prior (list): starting point for RFS to search, must be corresponds to the columns of X
  • exclusions (nested list): if the new selected feature is in one of the particular subpool (list in the nested list), then the features in that particular subpool with no longer be avalible to form any new subset in the following trials
  • n_jobs (int): Number of jobs to run in parallel.
  • n_digit (int): Decimal places for scoring
  • verbose (int): Level of verbosity of RFS

If you have any ideas for this packge please don't hesitate to bring forward!

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

ForwardStepwiseFeatureSelection-1.3.9.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ForwardStepwiseFeatureSelection-1.3.9.tar.gz.

File metadata

  • Download URL: ForwardStepwiseFeatureSelection-1.3.9.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for ForwardStepwiseFeatureSelection-1.3.9.tar.gz
Algorithm Hash digest
SHA256 880b7d59987c84445af2ce0317d606aba24202023996207c31bc15b51cd957bd
MD5 5f7a57f8219a4a9a1185db1471cfe304
BLAKE2b-256 87bdb00876e09e01c8154c531ed12c8cabea0b923896b2269983d92fdd321081

See more details on using hashes here.

File details

Details for the file ForwardStepwiseFeatureSelection-1.3.9-py3-none-any.whl.

File metadata

  • Download URL: ForwardStepwiseFeatureSelection-1.3.9-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for ForwardStepwiseFeatureSelection-1.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fce03d2d65204c71d50b1d540ba1341f08b0a69a5c694c45724974ef020908f3
MD5 729b19a8c41dd38ca03749e74e38e0db
BLAKE2b-256 8204535dcf29e6319436573783b1f05acca603c631258f8843c8623967f7ddad

See more details on using hashes here.

Supported by

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