Select Git revision
Danjou Pierre authored
README.md 699 B
TD1 - Image classification - DANJOU Pierre
INTRODUCTION
The objective of this tutorial is to write a complete image classification program in Python. Two classification models will be successively developed and tested: k-nearest neighbors (KNN) and neural networks (NN).
Prepare the CIFAR dataset
First of all, we had to prepare the CIFAR dataset. All the code can be found on the python file read_cifar.py
K-Nearest Neighbors (KNN)
All the code can be found on the python file knn.py
Here is the graph of the accuracy of my knn code epending on the value of k for the Cifar dataset with a split factor of 0.9: ``
Artificial Neural Network
Maths
1°