Add TP1 exo2 question 2 implementation.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 13 Nov 2018 21:09:27 +0000 (22:09 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 13 Nov 2018 21:09:27 +0000 (22:09 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
TP1/exo2/TP1prog2.py

index 78089744a63c981c8708f3565fa0aae8d38bf78f..65768d20b84493c803e1c2b768583a37fa741013 100755 (executable)
@@ -8,8 +8,6 @@ irisData = load_iris()
 X = irisData.data
 Y = irisData.target
 
-colors = ["red", "green", "blue"]
-
 nb_voisins = 15
 clf = neighbors.KNeighborsClassifier(nb_voisins)
 clf.fit(X, Y)