From 4e79158e46b68b0a1d68ec09a71369d1217dc81b Mon Sep 17 00:00:00 2001 From: VANDEPOELE Enzo Date: Thu, 2 Jun 2022 09:15:05 +0200 Subject: [PATCH] =?UTF-8?q?D=C3=A9pot=20:=20Modif=20:=20KNN=5FMark2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KNN_Mark2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KNN_Mark2.py b/KNN_Mark2.py index 53bec2a..5d5ccf4 100644 --- a/KNN_Mark2.py +++ b/KNN_Mark2.py @@ -11,7 +11,6 @@ def lancer(k, date, temp_moy, temp_ref, donnees): print(donnees_point) print(donnees) lst_k_plus_proches = kPlusProches(k, donnees_point, donnees) - PuissanceMoyenne(lst_k_plus_proches) def lecture(fichier): temp_jour = [] @@ -159,6 +158,7 @@ def recup4(): return temp_ref def calc_conso(): + conso_moy = PuissanceMoyenne(lst_k_plus_proches) Conso = conso_moy label9.configure(text=Conso)