-
-
Save staricon12/dbb6b69feca49aa4e7efe7e4f5bc449a 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 = model.predict(X_test) | |
#Converting predictions to label | |
pred = list() | |
for i in range(len(y_pred)): | |
pred.append(np.argmax(y_pred[i])) | |
#Converting one hot encoded test label to label | |
test = list() | |
for i in range(len(y_test)): | |
test.append(np.argmax(y_test[i])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment