A Comparative Study of Undersampling, K-Means Clustering, and Ensemble Learning for Class Imbalance Handling