From 4a7fe811f53a4d75421d572558a5b3c6664bed21 Mon Sep 17 00:00:00 2001 From: Szymon Bartanowicz Date: Wed, 15 May 2024 00:57:08 +0200 Subject: [PATCH] evaluation metrics plot --- plot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plot.py b/plot.py index 24d2201..032cbc1 100644 --- a/plot.py +++ b/plot.py @@ -4,7 +4,7 @@ def main(): accuracy = [] build_numbers = [] - with open("maetrics.txt") as f: + with open("metrics.txt") as f: for line in f: accuracy.append(float(line.split(",")[0])) build_numbers.append(int(line.split(",")[1])) @@ -14,8 +14,6 @@ def main(): plt.ylabel("RMSE") plt.title("RMSE of the model over time") plt.xticks(range(min(build_numbers), max(build_numbers) + 1)) - plt.show() - plt.savefig("plot.png") if __name__ == "__main__":