Created
August 13, 2019 20:36
-
-
Save techwithshadab/985ae397fe09201628517c22c8ce808d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
for i in range(0,6): | |
if predictions[i, 0] >= 0.5: | |
print('I am {:.2%} sure this is a Female'.format(predictions[i][0])) | |
else: | |
print('I am {:.2%} sure this is a Male'.format(1-predictions[i][0])) | |
plt.imshow(test[i].T) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment