Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Diabetes Prediction Using Machine Learning with Feature Engineering and Hyperparameter Tuning

Author 1: Hakim El Massari Author 2: Noreddine Gherabi Author 3: Fatima Qanouni Author 4: Sajida Mhammedi
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 15, No. 8 · Published 2024

DOI: https://doi.org/10.14569/IJACSA.2024.0150818

Abstract

Diabetes, a chronic illness, has seen an increase in prevalence over the years, posing several health challenges. This study aims to predict diabetes onset using the Pima Indians Diabetes dataset. We implemented several machine learning algorithms, namely Random Forest, Gradient Boosting, XGBoost, LightGBM, and CatBoost. To enhance model performance, we applied a variety of feature engineering techniques, including SelectKBest, Recursive Feature Elimination (RFE), Recursive Feature Elimination with Cross-Validation (RFECV), Forward Feature Selection, and Backward Feature Elimination. RFECV proved to be the most effective method, leading to the selection of the best feature set. In addition, hyperparameter tuning techniques are used to determine the optimal parameters for the models created. Upon training these models with the optimized parameters, XGBoost outperformed the others with an accuracy of 94%, while Random Forest and CatBoost both achieved 92.5%. These results highlight XGBoost's superior predictive power and the significance of thorough feature engineering and model tuning in diabetes prediction.

Keywords

How to Cite this Article

Massari, H. E., Gherabi, N., Qanouni, F., & Mhammedi, S. (2024). Diabetes Prediction Using Machine Learning with Feature Engineering and Hyperparameter Tuning. International Journal of Advanced Computer Science and Applications, 15(8). https://doi.org/10.14569/IJACSA.2024.0150818

Massari, Hakim El, et al.. "Diabetes Prediction Using Machine Learning with Feature Engineering and Hyperparameter Tuning." International Journal of Advanced Computer Science and Applications, vol. 15, no. 8, 2024, https://doi.org/10.14569/IJACSA.2024.0150818.

@article{Massari2024,
  title     = {Diabetes Prediction Using Machine Learning with Feature Engineering and Hyperparameter Tuning},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {15},
  number    = {8},
  year      = {2024},
  publisher = {The Science and Information Organization},
  author    = {Hakim El Massari and Noreddine Gherabi and Fatima Qanouni and Sajida Mhammedi},
  doi       = {10.14569/IJACSA.2024.0150818},
  url       = {https://doi.org/10.14569/IJACSA.2024.0150818}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.