Cargando…

One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning

Recently, deep learning (DL) has been utilized successfully in different fields, achieving remarkable results. Thus, there is a noticeable focus on DL approaches to automate software engineering (SE) tasks such as maintenance, requirement extraction, and classification. An advanced utilization of DL...

Descripción completa

Detalles Bibliográficos
Autores principales: Rahimi, Nouf, Eassa, Fathy, Elrefaei, Lamiaa
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8535052/
https://www.ncbi.nlm.nih.gov/pubmed/34681988
http://dx.doi.org/10.3390/e23101264
_version_ 1784587684435460096
author Rahimi, Nouf
Eassa, Fathy
Elrefaei, Lamiaa
author_facet Rahimi, Nouf
Eassa, Fathy
Elrefaei, Lamiaa
author_sort Rahimi, Nouf
collection PubMed
description Recently, deep learning (DL) has been utilized successfully in different fields, achieving remarkable results. Thus, there is a noticeable focus on DL approaches to automate software engineering (SE) tasks such as maintenance, requirement extraction, and classification. An advanced utilization of DL is the ensemble approach, which aims to reduce error rates and learning time and improve performance. In this research, three ensemble approaches were applied: accuracy as a weight ensemble, mean ensemble, and accuracy per class as a weight ensemble with a combination of four different DL models—long short-term memory (LSTM), bidirectional long short-term memory (BiLSTM), a gated recurrent unit (GRU), and a convolutional neural network (CNN)—in order to classify the software requirement (SR) specification, the binary classification of SRs into functional requirement (FRs) or non-functional requirements (NFRs), and the multi-label classification of both FRs and NFRs into further experimental classes. The models were trained and tested on the PROMISE dataset. A one-phase classification system was developed to classify SRs directly into one of the 17 multi-classes of FRs and NFRs. In addition, a two-phase classification system was developed to classify SRs first into FRs or NFRs and to pass the output to the second phase of multi-class classification to 17 classes. The experimental results demonstrated that the proposed classification systems can lead to a competitive classification performance compared to the state-of-the-art methods. The two-phase classification system proved its robustness against the one-phase classification system, as it obtained a 95.7% accuracy in the binary classification phase and a 93.4% accuracy in the second phase of NFR and FR multi-class classification.
format Online
Article
Text
id pubmed-8535052
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-85350522021-10-23 One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning Rahimi, Nouf Eassa, Fathy Elrefaei, Lamiaa Entropy (Basel) Article Recently, deep learning (DL) has been utilized successfully in different fields, achieving remarkable results. Thus, there is a noticeable focus on DL approaches to automate software engineering (SE) tasks such as maintenance, requirement extraction, and classification. An advanced utilization of DL is the ensemble approach, which aims to reduce error rates and learning time and improve performance. In this research, three ensemble approaches were applied: accuracy as a weight ensemble, mean ensemble, and accuracy per class as a weight ensemble with a combination of four different DL models—long short-term memory (LSTM), bidirectional long short-term memory (BiLSTM), a gated recurrent unit (GRU), and a convolutional neural network (CNN)—in order to classify the software requirement (SR) specification, the binary classification of SRs into functional requirement (FRs) or non-functional requirements (NFRs), and the multi-label classification of both FRs and NFRs into further experimental classes. The models were trained and tested on the PROMISE dataset. A one-phase classification system was developed to classify SRs directly into one of the 17 multi-classes of FRs and NFRs. In addition, a two-phase classification system was developed to classify SRs first into FRs or NFRs and to pass the output to the second phase of multi-class classification to 17 classes. The experimental results demonstrated that the proposed classification systems can lead to a competitive classification performance compared to the state-of-the-art methods. The two-phase classification system proved its robustness against the one-phase classification system, as it obtained a 95.7% accuracy in the binary classification phase and a 93.4% accuracy in the second phase of NFR and FR multi-class classification. MDPI 2021-09-28 /pmc/articles/PMC8535052/ /pubmed/34681988 http://dx.doi.org/10.3390/e23101264 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Rahimi, Nouf
Eassa, Fathy
Elrefaei, Lamiaa
One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning
title One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning
title_full One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning
title_fullStr One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning
title_full_unstemmed One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning
title_short One- and Two-Phase Software Requirement Classification Using Ensemble Deep Learning
title_sort one- and two-phase software requirement classification using ensemble deep learning
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8535052/
https://www.ncbi.nlm.nih.gov/pubmed/34681988
http://dx.doi.org/10.3390/e23101264
work_keys_str_mv AT rahiminouf oneandtwophasesoftwarerequirementclassificationusingensembledeeplearning
AT eassafathy oneandtwophasesoftwarerequirementclassificationusingensembledeeplearning
AT elrefaeilamiaa oneandtwophasesoftwarerequirementclassificationusingensembledeeplearning