diff --git a/knn/IMPLEMENTATION.md b/knn/IMPLEMENTATION.md index 82558ca..b7465c1 100644 --- a/knn/IMPLEMENTATION.md +++ b/knn/IMPLEMENTATION.md @@ -1,3 +1,5 @@ +# Implémentation de l'algorithme des K plus proches voisins + ### Implémentation de l'algorithme des K plus proches voisins. On pourrait essayer de penser à un algorithme simple pour pouvoir implémenter l'algorithme knn en python: @@ -29,7 +31,7 @@ Nous allons utiliser la bibliothèque `Matplotlib` Pour commencer, il faut installer `matplotlib` si ce n'est pas déjà fait. Cela se fait généralement via pip : ```python -pip install --upgrade --proxy=172.16.0.253:3128 matplotlib +pip install --upgrade matplotlib ``` Ensuite, pour utiliser `matplotlib`, on commence par importer le module `pyplot`, souvent sous l'alias `plt` :