-
-
Save um4ng-tiw/6b66ef0147c23c474b6230b64207d60f 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
cell_dict = {0:"Benign", 1:"Malignant", 2:"Normal"} | |
predictions = {} | |
actual_val = {} | |
k=0 | |
for arr in y[:5]: | |
actual_val[k] = cell_dict[np.argmax(arr)] | |
k+=1 | |
k=0 | |
for pred in pred_array: | |
predictions[k] = cell_dict[pred] | |
k+=1 | |
print("ACTUAL:", actual_val) | |
print("PREDICTIONS:", predictions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment