Neural Networks, Deep Learning, Data Science, Algorithmic Trading, Cryptocurrency Investment.
probabilities, you might convert them to class labels using argmax: y_pred_classes = np.argmax(y_pred, axis=1) # Convert one-hot encoded y_test to class labels y_test_classes = y_test # Plot confusion matrix for test data conf_matrix_test = confusion_matrix(y_test_classes, y_pred_classes) # Plot