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 hashes)

Uploaded Source

Built Distribution

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