From bb6e3a903d8e05737c4778c806ba9a273b6d39bf Mon Sep 17 00:00:00 2001
From: bbauvin <baptiste.bauvin@centrale-marseille.fr>
Date: Wed, 11 Oct 2017 17:12:27 -0400
Subject: [PATCH] Uncommented iter analysis

---
 Code/MonoMutliViewClassifiers/ExecClassif.py | 22 ++++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/Code/MonoMutliViewClassifiers/ExecClassif.py b/Code/MonoMutliViewClassifiers/ExecClassif.py
index 79038556..4014ce75 100644
--- a/Code/MonoMutliViewClassifiers/ExecClassif.py
+++ b/Code/MonoMutliViewClassifiers/ExecClassif.py
@@ -304,17 +304,17 @@ def classifyOneIter_multicore(LABELS_DICTIONARY, argumentDictionaries, nbCores,
     trueLabels = DATASET.get("Labels").value
     times = [dataBaseTime, monoviewTime, multiviewTime]
     results = (resultsMonoview, resultsMultiview)
-    # analyzeLabels(labels, trueLabels, results, directory)
-    # logging.debug("Start:\t Analyze Global Results for iteration")
-    # resultAnalysis(benchmark, results, args.name, times, metrics, directory)
-    # logging.debug("Done:\t Analyze Global Results for iteration")
-    # globalAnalysisTime = time.time() - monoviewTime - dataBaseTime - start - multiviewTime
-    # totalTime = time.time() - start
-    # logging.info("Extraction time : "+str(dataBaseTime)+
-    #              "s, Monoview time : "+str(monoviewTime)+
-    #              "s, Multiview Time : "+str(multiviewTime)+
-    #              "s, Global Analysis Time : "+str(globalAnalysisTime)+
-    #              "s, Total Duration : "+str(totalTime)+"s")
+    analyzeLabels(labels, trueLabels, results, directory)
+    logging.debug("Start:\t Analyze Global Results for iteration")
+    resultAnalysis(benchmark, results, args.name, times, metrics, directory)
+    logging.debug("Done:\t Analyze Global Results for iteration")
+    globalAnalysisTime = time.time() - monoviewTime - dataBaseTime - start - multiviewTime
+    totalTime = time.time() - start
+    logging.info("Extraction time : "+str(dataBaseTime)+
+                 "s, Monoview time : "+str(monoviewTime)+
+                 "s, Multiview Time : "+str(multiviewTime)+
+                 "s, Global Analysis Time : "+str(globalAnalysisTime)+
+                 "s, Total Duration : "+str(totalTime)+"s")
     return results
 
 
-- 
GitLab