├── src/
│ ├── knn_experiment.ipynb
│ ├── decisiontree_experiment.ipynb
| ├── experiment.ipynb
| ├── img_preprocessing.ipynb
├── MNIST/
├── Caltech10/
Assuming that your system is in python 2.7 which includes these packages
which can be easily installed through pip
.
Please make sure the folders structure are similar with data included in MNIST and Caltech10 folders for the code to run smoothly.
python jupyter notebook
command line in the root folder img_preprocecssing.ipynb
knn_experiment.ipynb
for implementation and experimentation results of KNN algorithm on both datasetsdecisiontree_experiment.ipynb
for implementation and experimentation results of decision tree algorithm on both datasetsNotes:
Image preprocessing + Loading the dataset is done in the img_preprocecssing.ipynb
file
MNIST_data_1.pickle
and Caltech_data_1.pickle
are datasets without PCA preprocessingMNIST_data_2.pickle
and Caltech_data_2.pickle
are datasets with PCA preprocessing