-
-
Save Sanlap1997/79a34d5a953dad9f606fd5cffcaf6506 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
Y_pred_test = model.predict_proba(X_test_normalized) # Predict probability of image belonging to a class, for each class | |
Y_pred_test_classes = np.argmax(Y_pred_test, axis=1) # Class with highest probability from predicted probabilities | |
Y_test_classes = np.argmax(Y_test_coded, axis=1) # Actual class | |
Y_pred_test_max_probas = np.max(Y_pred_test, axis=1) # Highest probability |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment