From b2bc44bea9d66731f0b219752a391119b8a096f1 Mon Sep 17 00:00:00 2001 From: Danjou <pierre.danjou@etu.ec-lyon.fr> Date: Tue, 12 Nov 2024 11:57:34 +0100 Subject: [PATCH] last update --- knn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knn.py b/knn.py index 02df428..5ae59e3 100644 --- a/knn.py +++ b/knn.py @@ -50,7 +50,7 @@ def bench_knn(): k_indices = [i for i in range(20) if i!=0] accuracies = [] - # Loop on the k_indices to get all the accuracies + # Loop on the k_indices to get all the accuracies for k in k_indices: accuracy = evaluate_knn(data_train, labels_train, data_test, labels_test, k) accuracies.append(accuracy) -- GitLab