From 76cdf71383c05a87a10290a3fc443c65c2ff4d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Miko=C5=82ajski?= Date: Sat, 17 Jun 2023 20:37:56 +0200 Subject: [PATCH] Update 'pred.py' --- pred.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pred.py b/pred.py index babf04e..500de24 100644 --- a/pred.py +++ b/pred.py @@ -25,7 +25,7 @@ prediction_classes = [1 if prob > 0.5 else 0 for prob in np.ravel(predictions)] print(prediction_classes[:30]) with open("predictionsResults.txt", mode='w', newline='') as f: - f.write(str(f'Results:)) + f.write(str(f'Results:')) for pred in predictions: f.write(str(f'{pred[0]}')) f.write("\n")