Developing an Advanced Software Requirements Classification Model Using BERT: An Empirical Evaluation Study on Newly Generated Turkish Data
Author:
Open Access
- 10 October 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (20) , 11127
Abstract
Requirements Engineering (RE) is an important step in the whole software development lifecycle. The problem in RE is to determine the class of the software requirements as functional (FR) and non-functional (NFR). Proper and early identification of these requirements is vital for the entire development cycle. On the other hand, manual identification of these classes is a timewaster, and it needs to be automated. Methodically, machine learning (ML) approaches are applied to address this problem. In this study, twenty ML algorithms, such as Naïve Bayes, Rotation Forests, Convolutional Neural Networks, and transformers such as BERT, were used to predict FR and NFR. Any ML algorithm requires a dataset for training. For this goal, we generated a unique Turkish dataset having collected the requirements from real-world software projects with 4600 samples. The generated Turkish dataset was used to assess the performance of the three groups of ML algorithms in terms of F-score and related statistical metrics. In particular, out of 20 ML algorithms, BERTurk was found to be the most successful algorithm for discriminating FR and NFR in terms of a 95% F-score metric. From the FR and NFR identification problem point of view, transformer algorithms show significantly better performances.Keywords
All Related Versions
This publication has 39 references indexed in Scilit:
- Logistic Model Tree for Human Activity Recognition Using Smartphone-Based Inertial Sensors2019
- Detecting Non-Atomic Requirements in Software Requirements Specifications Using Classification Methods2019
- Automatic Multi-class Non-Functional Software Requirements Classification Using Neural Networks2019
- Analysis of user emotions and opinion using Multinomial Naive Bayes Classifier2019
- Naïve Bayes Classifier Models for Predicting the Colon CancerIOP Conference Series: Materials Science and Engineering, 2019
- Non-Functional Requirements Classification with Feature Extraction and Machine Learning: An Empirical Study2019
- Human stress classification using EEG signals in response to music tracksComputers in Biology and Medicine, 2019
- Classification for Authorship of Tweets by Comparing Logistic Regression and Naive Bayes Classifiers2018
- An overview of the supervised machine learning methodsHORIZONS.B, 2017
- Towards Supporting Software Engineering Using Deep Learning: A Case of Software Requirements Classification2017