Artificial Intelligence, Machine Learning, Math, Computer Science, Software Engineering.
confusion_matrix(y_test, y_pred) Out: array([[56737, 13], [ 0, 56976]]) recall_score(y_test, y_pred) Out: 1.0 Conclusion When a machine learning model is trained on an imbalanced dataset it tends to perform poorly. When acquiring more data isn’t an option, we have to resort to down-sampling or