13 lines
338 B
Python
13 lines
338 B
Python
import tensorflow
|
|
import pandas as pd
|
|
|
|
model = tensorflow.keras.models.load_model('model.h5')
|
|
X_test_data = pd.read_csv("X_test.csv").astype(float)
|
|
Y_test_data = pd.read_csv("Y_test.csv").astype(float)
|
|
|
|
model.evaluate(X_test_data, Y_test_data)
|
|
|
|
predictions = model.predict(X_test_data)
|
|
|
|
predictions.to_csv('predictions.csv', index=False)
|