Update 'predict.py'
This commit is contained in:
parent
8e2c2cce9b
commit
050753c17a
@ -14,8 +14,8 @@ y_to_test = pandas.read_csv('./Y_test.csv')
|
||||
|
||||
accu = reloaded.evaluate(x_to_test, y_to_test)
|
||||
|
||||
with open('metrics.txt', 'a') as file:
|
||||
file.write(f'Accuracy: {accu}')
|
||||
with open('metrics.csv', 'a') as file:
|
||||
file.write(f'{accu},')
|
||||
|
||||
pre = reloaded.predict(x_to_test)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user