arrow
返回

Validating Unsupervised Machine Learning Techniques for Software Defect Prediction With Generic Metamorphic Testing

delete2024-01-01
delete0
delete
OA
AI
P
Pak Yuen Patrick Chan *
J
Jacky Keung
DOI:10.1109/ACCESS.2024.3494044delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
In the realm of software defect prediction, unsupervised models often step in when labelled datasets are scarce, despite facing the challenge of validating models without prior knowledge of data. Addressing this, we proposed a novel approach leveraging generic metamorphic testing to validate such models effectively, bypassing the need for expert-derived metamorphic relations. Our method identifies five categories of generic metamorphic relations, further divided into twenty-one individual generic metamorphic relations, all formulated through generic Data Mutation Operators. This framework enables us to generate follow-up datasets from the source datasets, training respective software defect prediction models. By comparing predictions between the source and follow-up software defect prediction models and identifying inconsistencies, we can assess the model's sensitivity to generic metamorphic relations as a form of validation. This approach was rigorously evaluated across twenty software defect prediction models, incorporating fourteen different machine learning algorithms and twenty high-dimensional public datasets. Remarkably, the robustness of our generic MT model was confirmed, showing substantial effectiveness in validating software defect prediction models, independent of whether they were supervised or unsupervised. Software defect prediction models, using Agglomerative clustering and Density-Based Spatial Clustering of Applications with Noise algorithms, did not violate any metamorphic relation, and nineteen software defect prediction models did not significantly violate the generic metamorphic relation Shrinkage and Expansion. Our findings suggest that employing generic metamorphic relations, especially Shrinkage and Expansion, can universally enhance the validation of defect prediction models. Furthermore, our model can be applied to continuously monitor software defect prediction models.
Keyword:
Software
Predictive models
Machine learning
Adaptation models
Testing
Data models
Machine learning algorithms
Numerical models
Feature extraction
Mathematical models
Clustering methods
Defect detection
Clustering
machine learning
metamorphic relation
metamorphic testing
software defect prediction
validation

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

C
City University of Hong Kong
学者数:
2.3W
论文数: 3.0W
被引数: 6.1W
引用论文

引用论文

Testing and validating machine learning classifiers by metamorphic testing通过变形测试测试和验证机器学习分类器
err2011-04-01
err251
errOAAI
errXie, Xiaoyuan; Ho, Joshua W. K.; Murphy, Christian; Kaiser, Gail; Xu, Baowen; Chen, Tsong Yueh
err分享
err收藏
Path-directed source test case generation and prioritization in metamorphic testing
err2022-01-01
err20
PREAI
errSun, Chang-ai; Liu, Baoli; Fu, An; Liu, Yiqiang; Liu, Huai
err分享
err收藏
Testing machine learning based systems: a systematic mapping测试基于机器学习的系统: 系统映射
err2020-09-15
err145
errOAAI
errRiccio, Vincenzo; Jahangirova, Gunel; Stocco, Andrea; Humbatova, Nargiz; Weiss, Michael; Tonella, Paolo
err分享
err收藏
学者 查看更多内容