From 6ece7b54230abd3e978085ab7d056b081954d27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Wed, 10 May 2023 23:16:07 +0200 Subject: [PATCH] Update 'predict.py' --- predict.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/predict.py b/predict.py index 7a186ed..1f4efd1 100644 --- a/predict.py +++ b/predict.py @@ -14,7 +14,8 @@ y_to_test = pandas.read_csv('./Y_test.csv') accu = reloaded.evaluate(x_to_test, y_to_test) -print(f'accurancy !@!#@!#!@$!@$!@$!@$!@$!@$!@${accu}') +with open('metrics.py', 'w') as file: + file.write(f'accurency: {accu}') pre = reloaded.predict(x_to_test)