diff scripts/score_plot.py @ 1051:cabeed51943a

Scripts: evaluation_stats.py added to quickly show a report on tests done so far (to be expanded)
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Wed, 01 Jul 2015 11:09:17 +0100
parents 1dd209550560
children 4345ba8a1b6e
line wrap: on
line diff
--- a/scripts/score_plot.py	Wed Jul 01 10:21:52 2015 +0100
+++ b/scripts/score_plot.py	Wed Jul 01 11:09:17 2015 +0100
@@ -11,10 +11,10 @@
 # CONFIGURATION
 
 # Which type(s) of plot do you want? 
-enable_boxplot    = False     # show box plot
-enable_confidence = True      # show confidence interval
+enable_boxplot    = True      # show box plot
+enable_confidence = False     # show confidence interval
 confidence        = 0.90      # confidence value (for confidence interval plot)
-enable_individual = True      # show all individual ratings
+enable_individual = False     # show all individual ratings
 show_individual   = []        # show specific individuals
 show_legend       = False     # show names of individuals
 #TODO: Merge, implement this functionality
@@ -56,7 +56,7 @@
                                    )
         
         # assert at least 2 subjects (move on to next file if violated)
-        if ratings.shape[1]<2:
+        if ratings.shape[0]<2:
             print "WARNING: Just one subject for " + page_name + ". Moving on to next file."
             break