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 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" and "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_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Feature Selction-Ranking Algorithms-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5247825207b3e0bb23e96636448829dbb6b3a51cb17b44e2ed520f251de7c8be |
|
MD5 | eb0944922ce805f6e95d11192c106ae0 |
|
BLAKE2b-256 | f3cfcf93edfaa3c27f72627041f420f3a3220bcf191a99839753ee1b4aad03cd |
Hashes for Feature_Selction_Ranking_Algorithms-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b666a5bdc162b3657e4e50dca9fc11e51e8af07776174ca045b357d00a9a02 |
|
MD5 | c5de7f6087a4de9b9af6df7c2a3481dc |
|
BLAKE2b-256 | 3092fa653928c75bccbcae66e9960be067e597b65f4da0ba55eb1803134f0665 |