-
-
Save kamal2230/f5281fc06b2828766078a58c1db25f4d 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
lis = [] | |
for ind in test_df.index: | |
if(test_df['Label'][ind] in test_df['Image'][ind]): | |
lis.append(1) | |
else: | |
lis.append(0) | |
print("Accuracy of the model on test data is {:.2f}%".format((sum(lis)/len(lis))*100)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment