Estefani Gaytan Nunez

upload

......@@ -97,16 +97,19 @@ if __name__ == '__main__':
plt.grid()
plt.plot(scoresTable['precision'],'co--', label='precision', linewidth=1, markersize=4)
x,y = maxPoint(scoresTable['precision'])
plt.plot(x, y, markersize=10)
plt.plot(x, y, 'o', markersize=10)
plt.plot(scoresTable['f1-score'], 'bo--', label='F1', linewidth=1, markersize=4)
x,y = maxPoint(scoresTable['f1-score'])
plt.plot(x, y, markersize=10)
plt.plot(x, y, 'o', markersize=10)
plt.plot(scoresTable['recall'], 'mo--', label='recall' , linewidth=1, markersize=4)
x,y = maxPoint(scoresTable['recall'])
plt.plot(x, y, markersize=10)
plt.plot(x, y, 'o', markersize=10)
plt.plot(scoresTable['CV'], 'ro--', label='CV' , linewidth=1, markersize=4)
x,y = maxPoint(scoresTable['CV'])
plt.plot(x, y, markersize=10)
plt.plot(x, y, 'o', markersize=10)
for k,v in dict(scoresTable).items():
for a,b in zip(range(64), v):
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