Created
February 25, 2018 04:29
-
-
Save edwardleoni/953f63b614f1b04bbd85f2d56dfa422f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | |
print(rounded) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment