Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from keras.models import load_model
import numpy
model = load_model('diabetes.h5')
predict_me = numpy.array([[1, 126, 60, 0, 0, 30.1, 0.349, 47]])
predictions = model.predict(predict_me)
rounded = [round(output[0]) for output in predictions]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.