Update 'predict.py'
This commit is contained in:
parent
93e7602c0f
commit
822abbc459
@ -15,7 +15,7 @@ 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)
|
||||||
|
|
||||||
with open('metrics.txt', 'w') as file:
|
with open('metrics.txt', 'w') as file:
|
||||||
file.write(f'accurency: {accu}')
|
file.write(f'Accuracy: {accu}')
|
||||||
|
|
||||||
pre = reloaded.predict(x_to_test)
|
pre = reloaded.predict(x_to_test)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user