1. A Machine Learning Approach for Hierarchical Classification of Software Requirements
- Author
-
Manal Binkhonain and Liping Zhao
- Subjects
FOS: Computer and information sciences ,D.2.1 ,Imbalanced classes ,Computer Science - Machine Learning ,H.4 ,H.5 ,Requirements engineering ,General Medicine ,Hierarchical classification ,Machine Learning (cs.LG) ,Requirements classification ,Software Engineering (cs.SE) ,Computer Science - Software Engineering ,High Dimensional Data with Low Sample Size (HDLSS) ,Machine learning - Abstract
Context: Classification of software requirements into different categories is a critically important task in requirements engineering (RE). Developing machine learning (ML) approaches for requirements classification has attracted great interest in the RE community since the 2000s. Objective: This paper aims to address two related problems that have been challenging real-world applications of ML approaches: the problems of class imbalance and high dimensionality with low sample size data (HDLSS). These problems can greatly degrade the classification performance of ML methods. Method: The paper proposes HC4RC, a novel ML approach for multiclass classification of requirements. HC4RC solves the aforementioned problems through semantic-role-based feature selection, dataset decomposition and hierarchical classification. We experimentally compare the effectiveness of HC4RC with three closely related approaches - two of which are based on a traditional statistical classification model whereas one uses an advanced deep learning model. Results: Our experiment shows: 1) The class imbalance and HDLSS problems present a challenge to both traditional and advanced ML approaches. 2) The HC4RC approach is simple to use and can effectively address the class imbalance and HDLSS problems compared to similar approaches. Conclusion: This paper makes an important practical contribution to addressing the class imbalance and HDLSS problems in multiclass classification of software requirements., 36 pages, 3 tables, 4 figures
- Published
- 2023
- Full Text
- View/download PDF