An Ensemble Learning Method Based on Neighborhood Granularity Discrimination Index and Its Application in Software Defect Prediction

Software defect prediction (SDP) is a primary field of study in software engineering, aiming to optimize test resource allocation by highlighting the defect-prone software modules. Over the last few years, ensemble learning method has been extensively adopted in SDP. However, how to strengthen the diversity of base learners is an issue in ensemble learning. In this paper, we consider the problem of diversity in the eye of feature space perturbation. First, we propose the notion of neighborhood granularity discrimination index (NGDI), by combining the neighborhood knowledge granularity with the neighborhood discrimination index within the framework of neighborhood rough sets. NGDI can not only measure the uncertainty of feature subsets' discriminant capability, but also characterize the granularity of neighborhood knowledge induced by feature subsets. Second, we propose an ensemble learning algorithm, EL-NGDI, established on the NGDI. ELNGDI disturbs the feature space using multiple NGDI-based neighborhood approximate reducts. Third, we use ELNGDI to predict software defects. ELNGDI and the Synthetic Minority Oversampling Technique (SMOTE) are combined in order to handle the class imbalance issue in SDP, and propose a mechanism called SMOTE-ELNGDI. Experimental results on 20 datasets demonstrate that ELNGDI effectively improves the performance of SDP compared with existing ensemble learning methods.

Authors

Institutions

Publication Details

Published
2025-03-04
DOI
https://doi.org/10.1109/saner64311.2025.00047
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Ensemble Learning Method Based on Neighborhood Granularity Discrimination Index and Its Application in Software Defect Prediction

Feng Jiang, Qiang Hu, Yifan He, Yuqi Sha
Software Engineering Research
article

An Ensemble Learning Method Based on Neighborhood Granularity Discrimination Index and Its Application in Software Defect Prediction

Feng Jiang, Qiang Hu, Yifan He, Yuqi Sha
article en

Abstract

Software defect prediction (SDP) is a primary field of study in software engineering, aiming to optimize test resource allocation by highlighting the defect-prone software modules. Over the last few years, ensemble learning method has been extensively adopted in SDP. However, how to strengthen the diversity of base learners is an issue in ensemble learning. In this paper, we consider the problem of diversity in the eye of feature space perturbation. First, we propose the notion of neighborhood granularity discrimination index (NGDI), by combining the neighborhood knowledge granularity with the neighborhood discrimination index within the framework of neighborhood rough sets. NGDI can not only measure the uncertainty of feature subsets' discriminant capability, but also characterize the granularity of neighborhood knowledge induced by feature subsets. Second, we propose an ensemble learning algorithm, EL-NGDI, established on the NGDI. ELNGDI disturbs the feature space using multiple NGDI-based neighborhood approximate reducts. Third, we use ELNGDI to predict software defects. ELNGDI and the Synthetic Minority Oversampling Technique (SMOTE) are combined in order to handle the class imbalance issue in SDP, and propose a mechanism called SMOTE-ELNGDI. Experimental results on 20 datasets demonstrate that ELNGDI effectively improves the performance of SDP compared with existing ensemble learning methods.

Qingdao University of Science and Technology (CN), Beijing Technology and Business University (CN)
Reduced inequalities
Openalex Percentile: Top 85%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.