added model evaluation
This commit is contained in:
parent
db5d87f034
commit
d2ae1e0b32
@ -34,6 +34,7 @@ def create_plots():
|
||||
plt.xticks(range(min(metrics_df["Build number"]), max(metrics_df["Build number"]) + 1))
|
||||
plt.show()
|
||||
plt.savefig("Accuracy_plot.png")
|
||||
plt.close()
|
||||
|
||||
plt.plot(metrics_df["Build number"], metrics_df["F1 Score"])
|
||||
plt.xlabel("Build Number")
|
||||
@ -42,6 +43,7 @@ def create_plots():
|
||||
plt.xticks(range(min(metrics_df["Build number"]), max(metrics_df["Build number"]) + 1))
|
||||
plt.show()
|
||||
plt.savefig("F1_score_plot.png")
|
||||
plt.close()
|
||||
|
||||
plt.plot(metrics_df["Build number"], metrics_df["RMSE"])
|
||||
plt.xlabel("Build Number")
|
||||
@ -50,6 +52,7 @@ def create_plots():
|
||||
plt.xticks(range(min(metrics_df["Build number"]), max(metrics_df["Build number"]) + 1))
|
||||
plt.show()
|
||||
plt.savefig("RMSE_plot.png")
|
||||
plt.close()
|
||||
|
||||
np.set_printoptions(threshold=20)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user