AKSU Journal of Engineering and Technology · Vol. 1, Issue 1
A Hybrid Machine Learning Framework for Software Defect Prediction Using NASA MDP Datasets
Abstract
This research presents the development of AI-based Hybrid Model for software testing and bug prediction system leveraging supervised machine learning models and advanced feature engineering techniques on the publicly available NASA Metrics Data Program (MDP) datasets. Specifically, this study presented a modular and generalizable machine learning framework that integrates multiple preprocessing techniques that include Synthetic Minority Over-sampling Technique (SMOTE), Adaptive Synthetic Sampling (ADASYN), and three distinct feature selection methods: Mutual Information (MI), Sequential Feature Selection (SFS), and the Boruta algorithm. The framework is implemented and validated across twelve NASA MDP datasets (e.g., CM1, JM1, KC1, MC1), ensuring a broad assessment of model robustness and generalizability across diverse software environments. Four classification models; Logistic Regression, Support Vector Classifier (SVC), Random Forest, and XGBoost were evaluated and compared to benchmark the prediction performance. These models were assessed using evaluation metrics that include Precision, Recall, F1-Score, Area Under the Curve (AUC), and Matthews Correlation Coefficient (MCC), with additional emphasis on addressing class imbalance and enhancing interpretability. The findings reveal that ensemble learning models, particularly XGBoost integrated with Boruta and SMOTE, consistently outperform baseline classifiers, achieving an average F1-Score of over 0.89 across most datasets while maintaining model interpretability and computational efficiency. In addition to performance benchmark, the study presents a comprehensive feature importance analysis, identifying critical software metrics across models that contribute to early defect prediction. The research demonstrates not only the feasibility of implementing an automated AI-based Hybrid Model for bug Testing and Prediction System in real-world settings but also contributes to a deeper understanding of software metrics and their role in predictive maintenance.
Keywords
Hybrid ModelArtificial IntelligenceSoftware Bug Testing and Prediction
Read the full article
Open the final, editor-approved full text as a PDF.
