exemple d'implémentation de k-nearest neighbors :
Pour le dataset nous allons utiliser celui de MNIST constitué d'un ensemble de 70000 images 28x28 pixels en noir et blanc annoté du chiffre correspondant (entre 0 et 9).
Pour l'environnement on utisera dans ce cas Jupyter Notebook
Alors l’objectif ici consiste à entraîner un modèle qui sera capable de reconnaître les chiffres écrits sur ce type d'images(par exemple lorsque quelqu'un ecrit un chiffre compris entre 0 et 9. bien sur à la main)