Abstract
Using a Kaggle clinical dataset of 2,140 patients identified by 24 demographic, clinical, and treatment-related variables, this study builds a machine learning framework to forecast HIV therapy results. Data clearing involved missing data imputation, categoric encoding, feature scaling and class balancing using the SMOTE-Tomek method in increasing data quality and address imbalance. Some of the many categorization models that were applied were with a Stacking ensemble, a Logistic Regression, K-Nearest Neighbors (KNN), Random Forest, AdaBoost, Bagging, XGBoost, and Artificial Neural Network (ANN). Model performance was measured using four key steps, which include accuracy, precision, recall and F1-score. The stable results of recall, F1-score and precision with an accuracy of 0.9300 to 0.9600 with varying gender, geography, educational level, marital status and employment status got further confirmation that the model is robust and free of biasing. Overall, ensemble-based tools demonstrate higher predictive skills and fair performance, therefore, they have potential usability in the clinical decision support process of HIV treatment management.