Skip to main content

Feature Selection and Feature Ranking Algorithms :

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

Use the function call like :

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

Parameters :

dataset : pandas dataframe of the original dataset

         It must only contain numerical values (categorical, ordinal values are excluded) and 
         the class variable (decisional attribute or variable) should be also of numerical type.

fs : string values - 'gpso' or 'ga'

     fs means feature selection method can be either :
     gpso : Geometric Particle Swarm Optimisation
     ga : Genetic Alogorithm

fr : string values - 'rsm_a' , 'rsm_b' , 'rsm_c' , 'mifsnd' , 'mrmr'

     fr means feature ranking and can be either :
     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

ftf : string values - 'ftf_1' , 'ftf_2' , 'ftf_3'

    ftf means fitness function
    If 'fs' is used then, it is mandatory to specify the value of 'ftf'
    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 that are selected by the algorithm at that instance

Returns : list of features ranked in descending order if both 'fs' and 'fr' are used or only 'fr' is used.

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

Release files for Feature-Selction-Ranking-Algorithms 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Feature-Selction-Ranking-Algorithms 1.0.7
File Size Uploaded
Feature Selction-Ranking Algorithms-1.0.7.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Feature-Selction-Ranking-Algorithms 1.0.7
File Interpreter ABI Platform
Feature_Selction_Ranking_Algorithms-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / Feature Selction-Ranking Algorithms-1.0.7.tar.gz

Download URL Feature Selction-Ranking Algorithms-1.0.7.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a3066cf2a58b08f03b61dccb7d660452017566eea9c653b3f50ca2fd6ffeb783
BLAKE2b-256 checksum
How to use checksums
d8b19808031fa37251a77c2c969c7e3567595cdd5b15b768e9d4b028c7365660
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Feature_Selction_Ranking_Algorithms-1.0.7-py3-none-any.whl

Download URL Feature_Selction_Ranking_Algorithms-1.0.7-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8762c755109b8967683ecf3101d9ef5e2637399cac6c590d6d23bfa7f9b3b307
BLAKE2b-256 checksum
How to use checksums
23bc9dcec20c1c366ef80de0a68b4fe36faa759c9e6cb82bfda80a092f0a92ac
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page