Automatically Classifying Functional and Non-Functional Requirements Using Supervised Machine Learning

被引:125
|
作者
Kurtanovic, Zijad [1 ]
Maalej, Walid [1 ]
机构
[1] Univ Hamburg, Hamburg, Germany
基金
欧盟地平线“2020”;
关键词
Requirements; Classification; Machine Learning; Imbalanced Data;
D O I
10.1109/RE.2017.82
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we take up the second RE17 data challenge: the identification of requirements types using the "Quality attributes (NFR)" dataset provided. We studied how accurately we can automatically classify requirements as functional (FR) and non-functional (NFR) in the dataset with supervised machine learning. Furthermore, we assessed how accurately we can identify various types of NFRs, in particular usability, security, operational, and performance requirements. We developed and evaluated a supervised machine learning approach employing meta-data, lexical, and syntactical features. We employed under- and over-sampling strategies to handle the imbalanced classes in the dataset and cross-validated the classifiers using precision, recall, and F1 metrics in a series of experiments based on the Support Vector Machine classifier algorithm. We achieve a precision and recall up to similar to 92% for automatically identifying FRs and NFRs. For the identification of specific NFRs, we achieve the highest precision and recall for security and performance NFRs with similar to 92% precision and similar to 90% recall. We discuss the most discriminating features of FRs and NFRs as well as the sampling strategies used with an additional dataset and their impact on the classification accuracy.
引用
收藏
页码:490 / 495
页数:6
相关论文
共 50 条
  • [31] Automated classification of non-functional requirements
    Jane Cleland-Huang
    Raffaella Settimi
    Xuchang Zou
    Peter Solc
    [J]. Requirements Engineering, 2007, 12 : 103 - 120
  • [32] Distinguishing Functional from Non-functional Pituitary Macroadenomas with a Machine Learning Analysis
    Carlo, Ricciardi
    Renato, Cuocolo
    Giuseppe, Cesarelli
    Lorenzo, Ugga
    Giovanni, Improta
    Domenico, Solari
    Valeria, Romeo
    Elia, Guadagno
    Maria, Cavallo Luigi
    Mario, Cesarelli
    [J]. XV MEDITERRANEAN CONFERENCE ON MEDICAL AND BIOLOGICAL ENGINEERING AND COMPUTING - MEDICON 2019, 2020, 76 : 1822 - 1829
  • [33] Planguage - Specification of non-functional requirements
    Emmanuel T.
    [J]. Informatik-Spektrum, 2010, 33 (03) : 292 - 295
  • [34] A Method for Verifying Non-Functional Requirements
    Matsumoto, Yuuma
    Shirai, Sayaka
    Ohnishi, Atsushi
    [J]. KNOWLEDGE-BASED AND INTELLIGENT INFORMATION & ENGINEERING SYSTEMS, 2017, 112 : 157 - 166
  • [35] Automated classification of non-functional requirements
    Cleland-Huang, Jane
    Settimi, Raffaella
    Zou, Xuchang
    Solc, Peter
    [J]. REQUIREMENTS ENGINEERING, 2007, 12 (02) : 103 - 120
  • [36] Using PSU for Early Prediction of COSMIC Size of Functional and Non-functional Requirements
    Buglione, Luigi
    Ormandjieva, Olga
    Daneva, Maya
    [J]. SOFTWARE PROCESS AND PRODUCT MEASUREMENT, 2008, 5338 : 352 - 361
  • [37] Derivation and use of non-functional requirements
    O'Brien, F
    [J]. 1998 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: EDUCATION & PRACTICE, PROCEEDINGS, 1998, : 402 - 404
  • [38] Towards Optimising Non-Functional Requirements
    Burgess, Christopher
    Krishna, Aneesh
    Jiang, Li
    [J]. 2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 269 - +
  • [39] Scope management of non-functional requirements
    Kassab, M.
    Daneva, M.
    Ormandjieva, O.
    [J]. SEAA 2007: 33RD EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS, PROCEEDINGS, 2007, : 409 - +
  • [40] An Aspect-Based Unsupervised Approach for Classifying Non-Functional Requirements on Software Reviews
    Wang, Yinglin
    Zhang, Jianzhang
    [J]. NEW TRENDS IN INTELLIGENT SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2017, 297 : 766 - 778