This is the implementation of ICMLSC 2022 paper "Insight Evaluation on Traditional and CNN Features". If the paper and code helps you, we would appreciate your kindly citations of our paper.
We use two main datasets, namely MNIST and CIFAR-10 with the partitions divided as below:
Folder: Traditional Filters
In this folder, we store the code for 14 traditional filters used to extract features from two mentioned datasets:
- Prewitt (with X-axis and Y-axis)
- Sobel filter (with X-axis and Y-axis)
- Laplacian filter
- Gaussian Blur filter
- Local Bimnary Pattern filter
- Center-Symmetric Local Binary Pattern
- Spatial Colour Binary Pattern
- Multi-channel Local Binary Pattern
- Local Ternary Pattern
- Completed Local Ternary Pattern
- Scale Invarian Local Ternary Pattern
- Scale Invariant Center-Symmetric Local Ternary Pattern
- Extended Center-Symmetric Local Ternary Pattern
- Generalized Local Ternary Pattern
Folder: CNN Approach
In this folder, we conducted two practical experiments and store the results evaluated on the test set:
- Experiment 1: Apply a basic CNN network (14 Conv2D Filters, MaxPooling, Flatten and two FC layers).
- Experiment 2: Apply a basic CNN network as above with additional layers (BatchNormalization and Dropout).
Files
- CIFAR - Traditional Filters.ipynb: Store the code for applying traditional filters on CIFAR-10 dataset and create a model prepared for test phase.
- MNIST-Traditional Filters.ipynb: Store the code for applying traditional filters on MNIST dataset and create a model prepared for test phase.
- Evaluation - CIFAR - Traditional Filters.ipynb: Store the results evaluated on the test set when apply the combination between traditional filters on CIFAR-10 dataset.
- Evaluation - MNIST - Traditional Filters.ipynb: Store the results evaluated on the test set when apply the combination between traditional filters on MNIST dataset.
MNIST Dataset Here is the general process how we build model which is combined betwwen diverse traditional filters and start performing ten-class classification task on MNIST dataset:
CIFAR-10 Dataset
Here is the general process how we build model which is combined betwwen diverse traditional filters and start performing ten-class classification task on CIFAR-10 dataset:
Here is the general process how we build model which uses CNN Filters to perform ten-class classification task on both datasets: