Preprint Article Version 1 This version is not peer-reviewed

Bi-LSTM-Based Model for Classifying Software Requirements

Version 1 : Received: 25 October 2024 / Approved: 28 October 2024 / Online: 28 October 2024 (06:38:36 CET)

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

Computer Science and Mathematics, Artificial Intelligence and Machine Learning

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.