Hybrid Bayesian-Aquila Optimization of Neural Networks for Diabetes Classification with SHAP-Based Interpretation
DOI:
https://doi.org/10.62411/tc.v25i4.18128Abstract
Reliable diabetes classification using clinical data remains challenging due to class imbalance, sensitivity to network parameters, and limited interpretability of model predictions. This study proposes a two-stage optimization approach for a Multilayer Perceptron (MLP), combining Bayesian Optimization (BO) for initial parameter selection and Aquila Optimizer (AO) for further refinement. SHapley Additive exPlanations (SHAP) is applied to examine the contribution of individual features to model predictions. Experiments were conducted using 403 records and 18 features from a publicly available diabetes dataset. Under stratified 10-fold cross-validation, the proposed NN + BO-AO model achieved an accuracy of 0.982744, precision of 0.950000, recall of 0.957143, F1-score of 0.945108, PRAUC of 0.9628, and ROC-AUC of 0.998669. The selected network consisted of 88 hidden neurons, a learning rate of 0.012904, and an L2 regularization coefficient of 0.000038. Although NN + BO achieved a slightly higher F1-score of 0.945524, the hybrid model obtained the highest results in most evaluation metrics. A separate computational comparison showed that BO-AO required 42.9580 seconds, compared with 69.3144 seconds for Random Search and 67.7879 seconds for Grid Search. SHAP analysis identified glyhb as the most influential feature, followed by stab.glu and bp.2d. An additional experiment excluding glyhb showed reduced performance, with accuracy of 0.8882 and ROC-AUC of 0.8855, although the remaining 17 features retained predictive information. These findings demonstrate the potential of the combined optimization approach for diabetes classification. However, since glyhb is also involved in constructing the target labels, the results should be interpreted as classification performance within the given dataset rather than evidence of independent clinical diagnostic capability. Keywords - Aquila Optimizer; Bayesian Optimization Diabetes Classification; Neural Network; SHAPDownloads
Published
Issue
Section
License
Copyright (c) 2026 Ahmad Rifa'i, Herin Dwibima Aprianto, Marta Ardiyanto, Abdullah Azza Al Abas, Arif Kurniawan

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
License Terms
All articles published in Techno.COM Journal are licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). This means:
1. Attribution
Readers and users are free to:
-
Share – Copy and redistribute the material in any medium or format.
-
Adapt – Remix, transform, and build upon the material.
As long as proper credit is given to the original work by citing the author(s) and the journal.
2. Non-Commercial Use
-
The material cannot be used for commercial purposes.
-
Commercial use includes selling the content, using it in commercial advertising, or integrating it into products/services for profit.
3. Rights of Authors
-
Authors retain copyright and grant Techno.COM Journal the right to publish the article.
-
Authors can distribute their work (e.g., in institutional repositories or personal websites) with proper acknowledgment of the journal.
4. No Additional Restrictions
-
The journal cannot apply legal terms or technological measures that restrict others from using the material in ways allowed by the license.
5. Disclaimer
-
The journal is not responsible for how the published content is used by third parties.
-
The opinions expressed in the articles are solely those of the authors.
For more details, visit the Creative Commons License Page:
? https://creativecommons.org/licenses/by-nc/4.0/









