Appendix 5: Instructions to run the code
Code Files
- CNN.ipynb
- SVM with HOG.ipynb
- Random_Forest.ipynb
CNN.ipynb
- Open the folder entitled “Code”
- Open the Folder entitled “CNN” Download the CIFAR-100 dataset from http://www.cs.toronto.edu/~kriz/cifar.html and place the train and test files in the “CNN” folder
- Open the CNN.ipynb file and follow the comments. Sequentially execute every cell in the notebook.
SVM with HOG.ipynb
- Open the folder entitled “Code”
- Open the Folder entitled “SVM with HOG”
- Download the dataset from http://www.cs.toronto.edu/~kriz/cifar.html and place the train and test files in the “SVM with HOG” folder
- Open the SVM with HOG.ipynb file and follow the comments. Sequentially execute every cell in the notebook.
Random_Forest.ipynb
- Open the folder entitled “Code”
- Open the Folder entitled “Random_Forest”
- Download the dataset from http://www.cs.toronto.edu/~kriz/cifar.html and place the train and test files in the “Random_Forest” folder
- Open the Random_Forest.ipynb file and follow the comments. Sequentially execute every cell in the notebook.