Open Access Research Article

A Multistage PCA–SMOTE Preprocessing Pipeline for Diabetes Prediction Using XGBoost and Hybrid Transformers

Authors

  • Amir Mohammad Rahimi Department of Computer Engineering, University of Seyed Jamal E Asadabadi, Kermanshah, Iran.
  • Hedieh Noorian * Department of Computer Engineering, Hamedan University of Technology, Hamedan, Iran.

https://doi.org/10.22105/ahse.v3i2.62

Abstract

In this study, the Pima Indians Diabetes dataset (PIMA), comprising 768 clinical records with eight metabolic and hereditary attributes, is used to develop a binary diabetes prediction pipeline based on Principal Component Analysis (PCA) and the Synthetic Minority Oversampling Technique (SMOTE). PCA is applied to reduce multicollinearity and obtain orthogonal features, while SMOTE corrects the strong class imbalance, yielding a more stable and informative representation for learning algorithms. Within this preprocessed space, a wide spectrum of models is optimized by systematic GridSearch (GS)  based Hyperparameter (HP) tuning, ranging from Logistic Regression (LR), Support Vector Machine (SVM), and tree ensembles to deep neural networks and Transformer based architectures. The results show that, although Extreme Gradient Boosting (XGBoost) remains a strong traditional baseline, a hybrid Transformer combined with Gradient Boosted Decision Trees (GBDT) achieves the highest Accuracy (ACC), F1 score, and Receiver Operating Characteristic (ROC) Area Under Curve (AUC) on the Pima Indians dataset, demonstrating that rigorous data conditioning together with architecture aware Hyperparameter Optimization (HPO) can substantially enhance the reliability of medical diagnostic models.

Keywords

Diabetes prediction Pima Indians dataset Principal component analysis Synthetic minority oversampling technique Extreme gradient boosting Transformer Hybrid gradient boosted decision trees
References (15)
  1. [1] Kingma, D. P., & Ba, J. (2014). Adam: A method for stochastic optimization.

  2. [2] Kelleher, J. D., Namee, B. M., & D’Arcy, A. (2020). Fundamentals of machine learning for predictive data analytics, second edition: Algorithms, worked examples, and case studies. MIT Press. https://books.google.com/books?id=1Iv-DwAAQBAJ

  3. [3] Chawla, N. V, Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357. https://doi.org/10.1613/jair.953

  4. [4] Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297. https://doi.org/10.1007/BF00994018

  5. [5] Breiman, L. (2001). Random Forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324

Article Metrics

How to Cite

Rahimi, A. M., & Noorian, H. (2026). A Multistage PCA–SMOTE Preprocessing Pipeline for Diabetes Prediction Using XGBoost and Hybrid Transformers. Annals of Healthcare Systems Engineering, 3(2), 102-112. https://doi.org/10.22105/ahse.v3i2.62

Similar Articles

1-10 of 53

You may also start an advanced similarity search for this article.