From 798f4627d28bb2bc7e863e685374e0da51959528 Mon Sep 17 00:00:00 2001 From: "aurian.jault" Date: Tue, 13 Feb 2024 22:51:56 +0100 Subject: [PATCH] Adding 1 line comment --- src/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 4f1029f..91e4bd5 100755 --- a/src/main.py +++ b/src/main.py @@ -97,11 +97,13 @@ def model_switch(choice): def plot_columns_hist(columns): x.hist() plt.show() - + + def printPredictedValues(ypredit,ytest): for i in range(0,len(ypredit)): print("✅ Prédit/Réel: ",ypredit[i],ytest[i]) if ypredit[i]==ytest[i] else print("🔴 Prédit/Réel: ",ypredit[i], ytest[i]) +# Affiche le pourcentage d'apparition dans les résultats faux du modèle pour chacune des classes def printStatValues(ypredit,ytest): galaxyStats = 0 starStats = 0