Update 'predict.py'

This commit is contained in:
Patryk Gałka 2023-05-10 23:16:07 +02:00
parent 4d757a3863
commit 6ece7b5423

View File

@ -14,7 +14,8 @@ y_to_test = pandas.read_csv('./Y_test.csv')
accu = reloaded.evaluate(x_to_test, y_to_test) 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) pre = reloaded.predict(x_to_test)