ium_z434686/predict.py

18 lines
438 B
Python
Raw Normal View History

2023-05-10 20:29:50 +02:00
import pandas
import os
from keras.applications.densenet import layers
from sklearn.model_selection import train_test_split
import tensorflow
2023-05-10 20:22:22 +02:00
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')