Estefani Gaytan Nunez

upload

...@@ -97,16 +97,19 @@ if __name__ == '__main__': ...@@ -97,16 +97,19 @@ if __name__ == '__main__':
97 plt.grid() 97 plt.grid()
98 plt.plot(scoresTable['precision'],'co--', label='precision', linewidth=1, markersize=4) 98 plt.plot(scoresTable['precision'],'co--', label='precision', linewidth=1, markersize=4)
99 x,y = maxPoint(scoresTable['precision']) 99 x,y = maxPoint(scoresTable['precision'])
100 - plt.plot(x, y, markersize=10) 100 + plt.plot(x, y, 'o', markersize=10)
101 +
101 plt.plot(scoresTable['f1-score'], 'bo--', label='F1', linewidth=1, markersize=4) 102 plt.plot(scoresTable['f1-score'], 'bo--', label='F1', linewidth=1, markersize=4)
102 x,y = maxPoint(scoresTable['f1-score']) 103 x,y = maxPoint(scoresTable['f1-score'])
103 - plt.plot(x, y, markersize=10) 104 + plt.plot(x, y, 'o', markersize=10)
105 +
104 plt.plot(scoresTable['recall'], 'mo--', label='recall' , linewidth=1, markersize=4) 106 plt.plot(scoresTable['recall'], 'mo--', label='recall' , linewidth=1, markersize=4)
105 x,y = maxPoint(scoresTable['recall']) 107 x,y = maxPoint(scoresTable['recall'])
106 - plt.plot(x, y, markersize=10) 108 + plt.plot(x, y, 'o', markersize=10)
107 plt.plot(scoresTable['CV'], 'ro--', label='CV' , linewidth=1, markersize=4) 109 plt.plot(scoresTable['CV'], 'ro--', label='CV' , linewidth=1, markersize=4)
108 x,y = maxPoint(scoresTable['CV']) 110 x,y = maxPoint(scoresTable['CV'])
109 - plt.plot(x, y, markersize=10) 111 + plt.plot(x, y, 'o', markersize=10)
112 +
110 for k,v in dict(scoresTable).items(): 113 for k,v in dict(scoresTable).items():
111 for a,b in zip(range(64), v): 114 for a,b in zip(range(64), v):
112 plt.text(a-0.5, float(b)+0.0020, b[0:6], fontsize=5) 115 plt.text(a-0.5, float(b)+0.0020, b[0:6], fontsize=5)
......

228 KB | W: | H:

228 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin