Skip to main content

A Feature Selection and Feature ranking Package that can be used to select and rank features in datasets

Project description

#Feature Selection and Feature Ranking Algorithms :

A Python package that provides many feature selection and feature ranking algorithms

##Usage

Use the function call like :

fsfr(dataset,fs = '...', fr = '...', ftf = '...')

where :

"dataset" is the dataset to be passed which must be a :

numerical valued datset (categorical, ordinal values are excluded) 
The class variable (decisional attribute or variable) should be of numerical type

"fs" means feature selection method and is of the following types :

gpso : Geometric Particle Swarm Optimisation
ga : Genetic Alogorithm

"fr" means featuure ranking meand feature ranking and is of the following types :

rsm_a : Rough Set Method 1
rsm_b : Rough Set Method 2
rsm_c : Rough Set Method 3
mifsnd : Mutual Information Feature Selection-ND
mrmr : Minimum Redundancy Maximum Relevance

If "fs" is used then, it is mandatory to specify the value of "ftf" "ftf" means fitness function which takes values :

ftf_1 : fitness function = 0.75 * (100/accuracy) + 0.25 * (no of features)
ftf_2 : fitness function = 0.75 * accuracy + 0.25 * (1 / no of features)
ftf_3 : fitness_function = accuracy * (1 - no of features/total no of features)

no of features= no of features taht are selected by the algorithm at that point

The feature selection and ranking can be used independently of each other by mentioning either fs='' or fr='' but both cannot be '' and it is preferable to use both at the same time in case of larger datasets.

Refrences for algorithms :

gpso with ftf_1 : https://www.researchgate.net/publication/4307926_Gene_selection_in_cancer_

rsm_a : http://library.isical.ac.in:8080/jspui/bitstream/10263/5158/1/Rough%20Sets%20for%20Selection%20of%20Molecular%20Descriptors%20to%20Predict%20Biological%20Activity%20of%20Molecules-IEEETOSMAC-%20Part%20C-AAR-40-6-2010-p%20639-648.pdf

rsm_b : https://ieeexplore.ieee.org/document/7104131

mifsnd : https://www.sciencedirect.com/science/article/pii/S0957417414002164

The rest of the algorithms have been self developed and do not contain any materials from any other sources

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

Feature Selction-Ranking Algorithms-0.0.2.tar.gz (7.8 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 Feature Selction-Ranking Algorithms-0.0.2.tar.gz.

File metadata

  • Download URL: Feature Selction-Ranking Algorithms-0.0.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for Feature Selction-Ranking Algorithms-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5c00e7d1db45fc0053a448d086e6e68fc74facf1ce24fbb0f6611c9067e77643
MD5 b64ad4e013b66153078a545e5117bc97
BLAKE2b-256 03db462e09ce102c823f8e87fb477acfb9de2d2b413b0a4fa71e780905a9d27f

See more details on using hashes here.

File details

Details for the file Feature_Selction_Ranking_Algorithms-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: Feature_Selction_Ranking_Algorithms-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for Feature_Selction_Ranking_Algorithms-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eeb9d9334d3e9fc403ca15093b4caf1b7b21d480413e12937d006f206890c2e3
MD5 94b10269fb4590e591efe28860936707
BLAKE2b-256 29fbc306c97d006d4fb21f2508ad738722688ee8c1efa92ff307b8f463fb36ef

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