Skip to content

Instantly share code, notes, and snippets.

View burakekincioglu's full-sized avatar
🏠
Working from home

burakekincioglu

🏠
Working from home
  • İstanbul - Türkiye
View GitHub Profile
import pandas as pd
from keras.models import load_model
model = load_model('trained_model.h5')
X = pd.read_csv("proposed_new_product.csv").values
prediction = model.predict(X)
# Grab just the first element of the first prediction (since we only have one)
prediction = prediction[0][0]