Add 'predict.py'
This commit is contained in:
parent
62efed9115
commit
b7c6c05cc6
9
predict.py
Normal file
9
predict.py
Normal file
@ -0,0 +1,9 @@
|
||||
reloaded = tensorflow.keras.models.load_model('test')
|
||||
|
||||
x_to_test = pandas.read_csv('./X_test.csv')
|
||||
y_to_test = pandas.read_csv('./Y_test.csv')
|
||||
|
||||
accu = norm_games_model.evaluate(x_to_test, y_to_test)
|
||||
|
||||
pre = norm_games_model.predict(x_to_test)
|
||||
pre.tofile('prediction.csv', sep=',', format='%s')
|
Loading…
Reference in New Issue
Block a user