From d5d653ea02f22bd8ca9fa8e853a843cd55a9805a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 13 Nov 2018 22:09:27 +0100 Subject: [PATCH] Add TP1 exo2 question 2 implementation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- TP1/exo2/TP1prog2.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/TP1/exo2/TP1prog2.py b/TP1/exo2/TP1prog2.py index 7808974..65768d2 100755 --- a/TP1/exo2/TP1prog2.py +++ b/TP1/exo2/TP1prog2.py @@ -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) -- 2.34.1