Two-Step-Feature-Enhancement
Two-Step-Feature-Enhancement copied to clipboard
Based on our paper "Cervical Cytology Classification Using PCA & GWO Enhanced Deep Features Selection" published in SN Computer Science
Cervical Cytology Classification Using PCA & GWO Enhanced Deep Features Selection
Official Python Implementation of the paper titled "Cervical Cytology Classification Using PCA & GWO Enhanced Deep Features Selection" published in the special issue "AI and Deep Learning Trends in Healthcare" of SN Computer Science.
Requirements
To install the required dependencies run the following using the Command Prompt:
pip install -r requirements.txt
Implementing the code for Cervical Cytology data
- Herlev Pap Smear dataset by Jantzen et al.: http://mde-lab.aegean.gr/index.php/downloads
- Mendeley Liquid Based Cytology dataset by Hussain et al.: https://data.mendeley.com/datasets/zddtpgzv63/4
- SIPaKMeD Pap Smear dataset by Plissiti et al.: https://www.cs.uoi.gr/~marina/sipakmed.html
Structure the directory as follows:
.
+-- data
| +-- .
| +-- train
| +-- val
+-- extract_features.py
+-- fitnessFUNs.py
+-- GWO.py
+-- main.py
+-- resnet50.csv
+-- selector.py
+-- solution.py
+-- transfer_functions_benchmark.py
To extract ResNet-50 features run the following script:
python extract_features.py
Similarly the script can be modified for extracting features from other models.
Run the following code for the feature set optimization:
python main.py --num_csv 2
Set num_csv to the number of features csv files you have. You will be asked to enter the names of the csv files upon executing the above code. Execute python main.py -h to get the details of all the available arguments.
Citation
If this repository helps you in your research in any way, please cite our paper:
@article{Basak2021,
author={Basak, Hritam and Kundu, Rohit and Chakraborty, Sukanta and Das, Nibaran},
title={Cervical Cytology Classification Using PCA and GWO Enhanced Deep Features Selection},
journal={SN Computer Science},
year={2021},
month={Jul},
day={07},
volume={2},
number={5},
pages={369},
issn={2661-8907},
doi={10.1007/s42979-021-00741-2},
url={https://doi.org/10.1007/s42979-021-00741-2}
}