|
|
@ -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) |
|
|
|
|
|
|
|