Non-Functional Requirements Classification with Feature Extraction and Machine Learning: An Empirical Study

Md Ariful Haque, Md. Abdur Rahman, Md. Saeed Siddik
{"title":"Non-Functional Requirements Classification with Feature Extraction and Machine Learning: An Empirical Study","authors":"Md Ariful Haque, Md. Abdur Rahman, Md. Saeed Siddik","doi":"10.1109/ICASERT.2019.8934499","DOIUrl":null,"url":null,"abstract":"Non-Functional Requirements (NFR) describe a set of quality attributes required for a software such as security, reliability, performance, etc. Extracting and considering NFR from software requirement specification can help developers to deliver quality software which meets users expectations completely. Since, the functional and non-functional requirements are mixed together within the same SRS, it requires a lot of human effort for distinguishing them. This paper proposed automatic NFR classification approach for quality software development by combining machine learning feature extraction and classification techniques. An empirical study with seven machine learning algorithms and four feature selection approaches have been applied to automatically classify NFR for finding out the best pair. The experiments were measured with statistical analysis including precision, recall, F1-score, and accuracy of the classification results through all the combinations of the techniques and algorithms. It is found that, SGD SVM classifier achieves best results where precision, recall, F1-score, and accuracy reported as 0.66, 0.61, 0.61, and 0.76 respectively. Additionally, TF-IDF (character level) feature extraction technique illustrated higher average score than others.","PeriodicalId":6613,"journal":{"name":"2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT)","volume":"184 1","pages":"1-5"},"PeriodicalIF":0.0000,"publicationDate":"2019-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"16","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICASERT.2019.8934499","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 16

Abstract

Non-Functional Requirements (NFR) describe a set of quality attributes required for a software such as security, reliability, performance, etc. Extracting and considering NFR from software requirement specification can help developers to deliver quality software which meets users expectations completely. Since, the functional and non-functional requirements are mixed together within the same SRS, it requires a lot of human effort for distinguishing them. This paper proposed automatic NFR classification approach for quality software development by combining machine learning feature extraction and classification techniques. An empirical study with seven machine learning algorithms and four feature selection approaches have been applied to automatically classify NFR for finding out the best pair. The experiments were measured with statistical analysis including precision, recall, F1-score, and accuracy of the classification results through all the combinations of the techniques and algorithms. It is found that, SGD SVM classifier achieves best results where precision, recall, F1-score, and accuracy reported as 0.66, 0.61, 0.61, and 0.76 respectively. Additionally, TF-IDF (character level) feature extraction technique illustrated higher average score than others.
基于特征提取和机器学习的非功能需求分类:实证研究
非功能需求(NFR)描述了软件所需的一组质量属性,如安全性、可靠性、性能等。从软件需求规范中提取并考虑NFR可以帮助开发人员交付完全满足用户期望的高质量软件。由于功能性和非功能性需求在同一个SRS中混合在一起,因此需要大量的人力来区分它们。本文将机器学习特征提取技术与分类技术相结合,提出了面向高质量软件开发的NFR自动分类方法。采用7种机器学习算法和4种特征选择方法对NFR自动分类进行了实证研究,以找出最佳对。对实验进行统计分析,包括所有技术和算法组合的分类结果的精密度、查全率、f1评分和准确率。研究发现,SGD SVM分类器的准确率、召回率、F1-score和准确率分别为0.66、0.61、0.61和0.76,达到了最佳效果。此外,TF-IDF(字符水平)特征提取技术的平均得分高于其他技术。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信