13 lines
263 B
Python
13 lines
263 B
Python
import keras
|
|
import numpy as np
|
|
import tensorflow as tf
|
|
import pandas as pd
|
|
|
|
test_data = pd.read_csv("adult_test.csv")
|
|
|
|
model = keras.models.load_model("model.h5")
|
|
|
|
predictions = model.predict(test_data)
|
|
|
|
np.savetxt("predictions.csv", predictions, delimiter=",")
|