Bi-LSTM-Based Model for Classifying Software Requirements
How to cite: Abbas, J.; Hu, Z.; Kanwal, S.; Ahmad, A.; Almogren, A.; Altameem, A. Bi-LSTM-Based Model for Classifying Software Requirements. Preprints 2024, 2024102129. https://doi.org/10.20944/preprints202410.2129.v1 Abbas, J.; Hu, Z.; Kanwal, S.; Ahmad, A.; Almogren, A.; Altameem, A. Bi-LSTM-Based Model for Classifying Software Requirements. Preprints 2024, 2024102129. https://doi.org/10.20944/preprints202410.2129.v1
Abstract
In the domain of software engineering, the accurate and effective classification of requirements is of paramount importance. Proper classifications of these requirements enable developers to create robust and error-free software solution. Traditional methods of user requirements classification face the issue of the reliance on manual processes, which are time-consuming, labor-intensive, and prone to human error. The limitations of traditional methods underscore the need for more automated, scalable, and robust approaches to user requirements classification in order to meet the demands of modern software development practices. To improve the classification process, we employed a Deep Learning (DL) methodology termed the Bidirectional Long Short-Term Memory (Bi-LSTM) model to conduct feature extraction, after which we merged these feature vectors into ML classifiers. Our research methodology is structured around a five-step process. Initially, the textual input is tokenized and converted to lowercase. Subsequently, we eliminate all punctuation. The pre-processed text is then subjected to a Bi-LSTM (Bidirectional Long Short-Term Memory) model for feature vector extraction. After that, this feature vector is fed into different classifiers such as Medium KNN, Cubic KNN, Linear SVM, Quadratic SVM, and Cubic SVM and obtained an accuracy of around 99.60% to 99.80% on a publicly available dataset of requirements.
Keywords
Bi-LSTM; software engineering; functional requirements; non-functional requirements; machine learning
Subject
Copyright: This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Comments (0)
We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.
Leave a public commentSend a private comment to the author(s)