Kaynağa Gözat

more text on the plots

Lucas Gautheron 2 yıl önce
ebeveyn
işleme
02d9a1433c
2 değiştirilmiş dosya ile 8 ekleme ve 2 silme
  1. 7 1
      code/scores/stats.py
  2. 1 1
      output/scores.png

+ 7 - 1
code/scores/stats.py

@@ -129,7 +129,7 @@ def generate_stats(parameters):
         axis = 1
     )
 
-    with mp.Pool(processes = 32) as pool:
+    with mp.Pool(processes = 48) as pool:
         stats = [
             process_clip(am, annotator, clip)
             for clip in intersection.groupby([
@@ -232,6 +232,12 @@ if __name__ == '__main__':
                 ax.set_yticks(np.linspace(0,0.5,4,endpoint=False))
                 ax.set_yticklabels(['' for i in np.linspace(0,0.5,4,endpoint=False)])
 
+
+    fig.add_subplot(111, frameon=False)
+    plt.tick_params(labelcolor='none', which='both', top=False, bottom=False, left=False, right=False)
+    plt.xlabel("vocalizations average scores ($\hat{y}$)")
+
+    fig.suptitle("VTC scores for true and false positive vocalizations")
     fig.subplots_adjust(wspace = 0, hspace = 0)
     fig.savefig('output/scores.png')
 

+ 1 - 1
output/scores.png

@@ -1 +1 @@
-../.git/annex/objects/VP/2j/MD5E-s18543--cab5fc42d4974b0d15431f819cdcc19f.png/MD5E-s18543--cab5fc42d4974b0d15431f819cdcc19f.png
+../.git/annex/objects/Zf/4q/MD5E-s28113--3d5bcb7af006218ddf0b8ffe246d3e6a.png/MD5E-s28113--3d5bcb7af006218ddf0b8ffe246d3e6a.png