Estefani Gaytan Nunez

upload

...@@ -93,6 +93,11 @@ if __name__ == '__main__': ...@@ -93,6 +93,11 @@ if __name__ == '__main__':
93 plt.plot(scoresTable['f1-score'], 'bo--', label='F1', linewidth=1, markersize=6) 93 plt.plot(scoresTable['f1-score'], 'bo--', label='F1', linewidth=1, markersize=6)
94 plt.plot(scoresTable['recall'], 'mo--', label='recall' , linewidth=1, markersize=6) 94 plt.plot(scoresTable['recall'], 'mo--', label='recall' , linewidth=1, markersize=6)
95 plt.plot(scoresTable['CV'], 'ro--', label='CV' , linewidth=1, markersize=6) 95 plt.plot(scoresTable['CV'], 'ro--', label='CV' , linewidth=1, markersize=6)
96 + for k,v in dict(scoresTable).items():
97 + for a,b in zip(range(64), v):
98 + plt.text(a, float(b)+0.03, b[0:4], fontsize=5)
99 + #print(a,b)
100 +
96 plt.legend(loc='upper left') 101 plt.legend(loc='upper left')
97 plt.xticks(range(64), list(scoresTable.index)[0:65], rotation=90, fontsize=8) 102 plt.xticks(range(64), list(scoresTable.index)[0:65], rotation=90, fontsize=8)
98 #plt.xticks(range(16),['run1', 'run2', 'run3', 'run4', 'run5', 'run6', 'run7', 'run1-NER(9)', 'run2-NER(10)', 'run3-NER(11)', 'run4-NER(12)', 'run5-NER(13)', 'run6-NER(14)', 'run7-NER(15)', 'run8-NER(16)'], rotation=90) 103 #plt.xticks(range(16),['run1', 'run2', 'run3', 'run4', 'run5', 'run6', 'run7', 'run1-NER(9)', 'run2-NER(10)', 'run3-NER(11)', 'run4-NER(12)', 'run5-NER(13)', 'run6-NER(14)', 'run7-NER(15)', 'run8-NER(16)'], rotation=90)
......

195 KB | W: | H:

221 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin