원시데이터 수집 시스템
선정목록으로

Rapid and Efficient Bug Assignment Using ELM for IOT Software

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Ying Yin — College of Computer Science and Engineering, Northeastern University, Shenyang, China
  2. Xiangjun Dong — School of Information, Qilu University of Technology (Shandong Academy of Sciences), Jinan, China
  3. Tiantian Xu — School of Information, Qilu University of Technology (Shandong Academy of Sciences), Jinan, China
DOI
10.1109/access.2018.2869306
저널
IEEE Access
발행년도
2018
발행기관
Institute of Electrical and Electronics Engineers
피인용수
20
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2018.2869306
토픽
Fuel Cells and Related Materials
OpenAlex ID
W2890987031

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The reliable implementation of software in an Internet system directly influences information transmission especially for the Internet of Things (IoT) system. Once defects in the system are found, the communication between things and things and the interaction between people and things in the IoT will be greatly affected. Therefore, rapid and effective defect assignment to the right developer is the key to ensuring software quality and bringing down time consumption in the IoT software life cycle. However, as the size of the software becomes increasing larger, the requirement of users grows, and a large number of software bugs will be found every day. It is difficult for managers to assign the software defects to the appropriate developers. In this paper, a novel hybrid method based on a diversified feature selection and an ensemble extreme learning machine (ELM) is proposed. First, the useful information is extracted from defect reports; then, the data are preprocessed to establish a vector space model; and the diversified feature selection is preprocessed in order to select a smallest set of representative non-redundant features with maximal statistical information. Finally, an ensemble GA-based ELM training classifier is used. Experimental results show that, compared to SVM, C4.5, NaiveBayes, and KNN classifiers, the proposed ELM-based bug triage approach with representative feature selection techniques in this paper significantly improves the efficiency and the effectiveness of bug triages.

본문 52,808자

본문 펼치기
Received August 4, 2018, accepted August 31, 2018, date of publication September 10, 2018, date of current version October 12, 2018. _Digital Object Identifier 10.1109/ACCESS.2018.2869306_ # Rapid and Efficient Bug Assignment Using ELM for IOT Software YING YIN 1, (Member, IEEE), XIANGJUN DONG 2, AND TIANTIAN XU 2 1College of Computer Science and Engineering, Northeastern University, Shenyang 110819, China 2School of Information, Qilu University of Technology (Shandong Academy of Sciences), Jinan 250300, China Corresponding authors: Ying Yin (yinying@mail.neu.edu.cn) and Tiantian Xu (xtt-ok@163.com) This work was supported in part by the National Natural Science Foundation of China under Grant 61772124 and Grant 61332014 and in part by the Fundamental Research Funds for the Central Universities under Grant N150402002. ABSTRACT The reliable implementation of software in an Internet system directly influences information transmission especially for the Internet of Things (IoT) system. Once defects in the system are found, the communication between things and things and the interaction between people and things in the IoT will be greatly affected. Therefore, rapid and effective defect assignment to the right developer is the key to ensuring software quality and bringing down time consumption in the IoT software life cycle. However, as the size of the software becomes increasing larger, the requirement of users grows, and a large number of software bugs will be found every day. It is difficult for managers to assign the software defects to the appropriate developers. In this paper, a novel hybrid method based on a diversified feature selection and an ensemble extreme learning machine (ELM) is proposed. First, the useful information is extracted from defect reports; then, the data are preprocessed to establish a vector space model; and the diversified feature selection is preprocessed in order to select a smallest set of representative non-redundant features with maximal statistical information. Finally, an ensemble GA-based ELM training classifier is used. Experimental results show that, compared to SVM, C4.5, NaiveBayes, and KNN classifiers, the proposed ELM-based bug triage approach with representative feature selection techniques in this paper significantly improves the efficiency and the effectiveness of bug triages. INDEX TERMS IoT software, diversified feature selection, software defect triage, ensemble extreme learning machine (ELM). I. INTRODUCTION The Internet of Things industry is developing rapidly all over the world. The development of the Internet of Things industry is dependent on the popularization of software products. Software covers many aspects of the Internet of Things system, such as the IOT terminal system, short-distance connections, IOT architecture, IOT browser, IOT security and other important applications [3]. According to an OMA survey, 60% of IOT enterprises believe that IOT products rely on open source software. According to the Vision Mobile survey, 91% of Internet of Things developers have used open bug repositories to seek help to repair defects and further improve the performance and safety of Internet of Things software. Reliable quality of software is the basis of ensuring the efficient and safe operation of the IOT system. Open software projects usually adopt an open bug repository, such as Bugzilla or JIRA to manage software defect reports that were submitted by developers and users from the process of software development and maintenance [1]. When one or some software bugs are found, software developers and users will submit bug reports to the repository in the form of software defect reports. A bug report describes the details or the features (such as version, description, component, and severity) of the submitted bug [2]. The advantage of the open repository is that it allows more bug reports to be submitted, confirmed and assigned. Traditional artificial defect triage is described below: First, test group members found the software defects and generated defect reports and then handed in the reports to the test group leader. Further, according to the defect reports, test group leader first judged whether or not it is a genuine bug report and determined the validity of the software defects, and then, the report is checked for duplication. If the reports are effective, then the numbers hand it over to the team leader. Finally, the team leader assigns the software bug reports to the most suitable developers according to their experience. Therefore, the project manager can use the system to assign the reports, manage the solution process and improve the quality of the software project. However, bug assignment expenses incur significant costs, such as time and human resources, especially for rapidly growing projects with many bug reports generated every day. For instance, there are on average more than 29 reports submitted to the platform each day in Eclipse [18]. Up to May 1, 2014, data show that Bugzilla has managed over 434,000 and 1,004,000 bug reports for Eclipse and Mozilla, respectively. Each bug report must be determined, validated and assigned to an appropriate developer based on its features(whether it is a new problem or an enhancement). The goal of most previous work on bug triage is to analyze bug reports to help developers or programmers repair the bugs efficiently. Jeong _et_ _al_ . put forward a graph model based on Markov chains to detect the defect information modified. Cubranic _et_ _al._ [35] proposed a method that uses the Naive Bayes algorithm to convert the defect triage into text categorization. Since then, defect assignments based on text classification technology have been used. Nevertheless, the accuracies of the above two methods must to be improved when using these methods to triage defects. Xuan _et al_ . [33] improved the accuracy of the classification by reducing the size of data using instances and selected feature combinations, improve the quality of the data, and selecting the appropriate instance selection and feature selection order. Ahsan _et_ _al._ [34] mapped the defect report information to the latent semantic space, reduced the size of the data using singular value decomposition, improved the quality of the data, and then improved the accuracy of the defect assignments. Other studies use machine learning-based bug report triage methods to recommend suitable repairers [30], [32]. The method must provide a bug report with a repairer, extract some features of the existing bug report, train a model through machine learning, and then execute predictions on unknown bug reports; Other classification techniques, such as SVM, naive Bayes and decision trees are also used for triage [29], [31], [32]. In these methods, a vector space model is used to digitize bug reports. First, find the useless words in the text, select the other words, retain the more important words and calculate their weights. Defect assignment papers based on association rules have been presented in the literature. However, the large number of rules affects the efficiency of assignments. All in all, there are two major challenges to existing methods in the triage of defects: (1) The speed of bug triage should be improved; with the advent of the Internet era, increasingly more platforms support a variety of software, such as mobile phones, IPads and various mobile terminals; and in the face of large-scale bug reports, it is necessary to improve the efficiency and accuracy of bug allocation. (2) The triage accuracy must be improved; existing bug assignment methods for single report feature extraction and assignment accuracy must be improved. With the increasing size and complexity of software projects, an increasingly more bugs are generated. When a bug report is generated, it is important to assign it quickly and effectively to the appropriate repairer. Therefore, we require a fast and accurate defect triage algorithm to reduce the consumption of time and labor. Below are the primary contributions of this paper: In this paper, we propose an effective bug report feature learning model and an efficient bug assignment mechanism for the above challenges. The primary contributions of this article are as follows: (1) we propose a new hybrid bug triage method based on supervised learning and ensemble ELM classification based on GA. (2) We propose an efficient method to identify diversified features as the representative feature subsets of an all-dimensional space for each bug report. Not using all features to construct a large searching space, we only select those representative features with high relevance and diversification by adopting a greedy algorithm; and (3) We design an optimal ensemble ELM strategy by combining the selected diversified features to promote the strategy’s effectiveness. The remainder of this paper is organized as follows. Section 2 gives the background of bug triage, including the information extracted from a bug report and the life-cycle of a bug report. Section 3 presents the theory of the extreme learning machine. Section 4 presents the hybrid ELM-based bug triage framework. Section 5 describes the representative feature selection and gives the process of solution in detail. Experimental analysis is elaborated in Section 6. Section 7 describes the previous related work on bug triage. Finally, Section 7 concludes this paper. II. BUG REPORT Currently, bug repositories, such as Bugzilla, GNAT and JIRA are widely used in software projects to collect bug information, store bug reports and triage the bug fixers. Bug repositories play a very important role because they provide a communication channel for software developers around the world. With these repositories, many bug reports can be repaired in time. The emergence of an increasing number of bug repositories effectively improves the quality of software development. Bugs in repositories takes many forms, such as new features, defects, update operations or refactoring. Once a new software bug is found, this bug will be recorded by a recorder and submitted to the bug repository. The bug repository provides a database of problems for a software project. There are a series of states for a bug report over its lifecycle. We elaborate these states as a lifecycle graph of a bug report. Figure 1 shows the several states of a bug project for internet software. Other projects have similarities to this model. At first, the state of a bug report is marked as NEW when it is submitted to the bug repository. For a fixer/developer, once he/she has been assigned to the report, the status of bug report becomes ASSIGNED and the fixer/developer becomes an assignee. Once the report is closed, the status of a bug report is set to RESOLVED. It may further become VERIFIED or CLOSED when it is reopened again. The bug report provides an integrated record of a bug from being presented to FIGURE 1. The lifecycle of a bug report in Bugzilla. being repaired or closed. Its content mainly includes (1) the migration process of the reported bug, such as new, assigned, reopened, resolved, closed, or fixed, and (2) the repair suggestions of the reviewer and the comments as well as the time of posting. Bug reports are similar in form in the same bug software repository, whether it be IOT software or network software. We take the Eclipse project as an example; Figure 2 shows a partial bug report on bug 425152 in Eclipse stored in Bugzilla. Each bug report consists of four parts: freeform text, predefined fields, attachments, and dependencies. Some items, such as such as the report creation date, identification number and reporter are provided when the report is created. Other attributes, such as the status (e.g., resolved or fixed), product (e.g., JDT), component (e.g., Core), hardware (e.g., PC Windows 7), version (e.g., 4.4), importance (e.g., P3), and target milestone (e.g., BETA J8), are described by the reporter when the report is submitted, but the report’s status may be changed with modifications by the contributor. Figure 2 shows that a contributor named Jay Arthanareeswaran introduced a bug report on Jan.9, 2014. Jay Arthanareeswaran gave a detailed description of this bug about ‘‘[compiler] Lambda Expression not resolved but flow analyzed leading to NPE’’. In addition, he described some FIGURE 2. An example of bug report in Bugzilla. items associated with this bug report, including components, product and target milestone. Along with the progress of the fix, the status of bug report may change as well. The summary and description of the bug report is described by the freeform text which consists of a description, a summary and comments. The comments are posted by contributors. These contributors are happy to join in the discussion or have interests in fixing the bug of the project. Generally, contributors can also attach nontextural information, such as test cases and patches. For example, after Jay Arthanareeswaran submitted Bug 425152, there are 9 total comments from 4 contributors, such as Jay Arthanareeswaran, Srikanth Sankaran, Stephan Herrmann and Noopur Gupta. In Figure 3, we only display a part of the comments for bug 425152 in Eclipse stored in Bugzilla. Interestingly, Srikanth Sankaran also contributed 7 comments, Stephan Herrmann contributed 2 comments and Noopur Gupta also contributed 1 comment. FIGURE 3. The comments of bug 425152 in Bugzilla. III. INTRODUCTION OF ELM In recent years, a new artificial neural network model learning method called extreme learning machine (ELM) has been proposed. Extreme learning machine (ELM) is a generalized single hidden-layer feedforward network. ELM described in Algorithm 1 provides better generalization performance with faster speeds than those of traditional feedforward neural network learning models [19]. In ELM, the hidden-layer node parameter is mathematically obtained instead of being iteratively tuned. The learning model not only ensures that the network has good generalization performance, but also greatly promotes the learning speed of the neural network and avoids many problems of using gradient descent learning methods, such as falling into local minima and slow convergence rates. As an excellent learning model, ELM has been applied in many fields successfully. For example, in [20], ELM was applied for plain text classification by using the OAO strategy and OAA scheme. An ELM-based XML document classification framework was proposed to improve the classification accuracy with an efficient voting strategy [19]. An ELM-based protein secondary prediction framework was proposed [22] to provide excellent performance with high speed. An ELM-based protein-protein interaction prediction framework on multichain sets was proposed by [21]; it uses ELM and SVM as comparisons. Studies indicate that ELM obtains a better recall than of SVM and shows an advantage with its higher speeds. The work [23] proposes an ELM-based classification on a microarry dataset, evaluating the classification performance on several microarray datasets. The use of ELM for multiresolution access of shadow map compression was proposed in [24]. The ELM-based optimization method for classification was elaborated in [25]. In recent years, the use of intelligent optimization algorithm combined with evolutionary limit learning machine (E-ELM), combined with differential evolution and the ELM algorithm, to improve the performance of SLFNs; In [4], an adaptive DE algorithm is used to optimize the hidden layer node parameters of SLFNs, and Moore-Penrose (MP) generalized inverse acquisition is used to optimize the hidden layer node parameters of SLFNs. IPSO-ELM was presented in [6], optimization of hidden layer node parameters in SLFNs using improved particle swarm Optimization. The output weights of SLFNs can be obtained using ELM, so the output weights of SLFNs can be improved. The performance of SLFNs has been improved. The algorithm has good performance in regression calculation and classification [7]. As mentioned, ELM is a classifier based on SLFN. Standard SLFNs with _M_ arbitrary samples ( xi _,_ ti ) ∈ R <sup>m</sup> <sup>×</sup> <sup>n</sup> and activation function _g_ ( _x_ ) are refer to [16] as The decision function for classification [26] is: _d_ ( _x_ ) = _sign_ ( _L_ _i_ =1 _βig_ ( ci _, di,_ x )) = _sign_ ( _β_ - H ) (3) When g(x) approximates the M samples with zero error with _�j_ <sup>_L_</sup> =1 <sup>∥</sup> <sup>_oj_</sup> <sup>−</sup> <sup>_tj_</sup> <sup>∥= 0 and outputs</sup> <sup>_βi_</sup> <sup>,</sup> <sup>_wi_</sup> <sup>and</sup> <sup>_di_</sup> <sup>such that</sup> _L_ _i_ =1 _βig_ ( wi - xj + _di_ ) = tj _, j_ = 1 _, . . ., M_ (4) The equation above can be expressed compactly as follows: H _β_ = T (5) <sup>_T_</sup> 1 <sup>_, . . .,_</sup> <sup>t</sup> <sup>_T_</sup> _L_ <sup>]</sup> _m_ <sup>_T_</sup> where T = [ t <sup>_T_</sup> 1 where T = [ t <sup>_T_</sup> 1 <sup>_, . . .,_</sup> <sup>t</sup> <sup>_T_</sup> _L_ <sup>]</sup> _m_ <sup>_T_</sup> × _L_ <sup>.</sup> All in all, ELM is relatively rapid compared with the traditional learning algorithms. ELM tends to have not only the smallest training error but also the smallest norm of weights [27]. More detailed introductions to ELM and its improvements can be found in a series of new published literatures. _H_ _i_ =1 _βigi_ ( xj ) = _H_ _i_ =1 _βig_ ( wi - xj + _di_ ) = oi _,_ ( _j_ = 1 _, . . ., M_ ) (1) where the number of hidden layer nodes is _H_, the weight vector between the _i_ <sup>_th_</sup> hidden node and the input nodes is wi = [ _w_ <sup>1</sup> _i_ <sup>_, w_</sup> <sup>2</sup> _i_ <sup>_, . . ., wn_</sup> _i_ <sup>]</sup> <sup>_T_</sup> <sup>,</sup> <sup>the</sup> <sup>weight</sup> <sup>vector</sup> <sup>between</sup> <sup>the</sup> <sup>_ith_</sup> hidden node and the output nodes is _βi_ = [ _βi_ <sup>1</sup> <sup>_, β_</sup> _i_ <sup>2</sup> <sup>_, . . ., β_</sup> _i_ <sup>_m_</sup> <sup>]</sup> <sup>_T_</sup> <sup>,</sup> and the threshold of the _i_ <sup>_th_</sup> hidden node is _bi_ . The output of ELM is: <sup>1</sup> _i_ <sup>_, w_</sup> <sup>2</sup> _i_ <sup>_n_</sup> _i_ <sup>]</sup> <sup>_T_</sup> <sup>,</sup> <sup>the</sup> <sup>weight</sup> <sup>vector</sup> <sup>between</sup> <sup>the</sup> <sup>_ith_</sup> <sup>2</sup> _i_ <sup>_, . . ., wn_</sup> _i_ _i_ <sup>1</sup> <sup>_, β_</sup> _i_ <sup>2</sup> hidden node and the output nodes is _βi_ = [ _βi_ <sup>1</sup> _i_ <sup>2</sup> <sup>_, . . ., β_</sup> _i_ <sup>_m_</sup> _βig_ ( ci _, di,_ x ) (2) <u>Algorithm 1</u> <u>ELM</u> Input : ODB: original dataset, HLN: Number of Hidden Layer nodes, AF: ActivationFunction Output : R 1. for _k_ = 1 to _L_ do 2. set input weight _wi_ randomly 3. set bias _di_ randomly 4. calculate H 5. obtain _β_ = H <sup>_†_</sup> T IV. OVERVIEW OF DEFECT TRIAGE In this section, we first give the ELM-based defect triage framework (Fig.4) and then explain every step of this framework in the following steps respectively. Assume an original dataset of _s_ bug reports, _m_ features/variables and _k_ workers, i.e. S = { _s_ 1 _, s_ 2 _, . . ., sn_ }, M = { _f_ 1 _, f_ 2 _, . . ., fm_ } and C = { _c_ 1 _, c_ 2 _, . . ., ck_ }. Each sample _si_ can be represented by a vector _si_ = { _xi_ 1 _, xi_ 2 _, . . ., xim_ }, where _xij_ denotes the values of sample _si_ on feature _fj_ . Each sample _si_ ∈ _S_ corresponds to a class label _ci_ . As shown in Figure 4, the defect triage framework consists of three major steps: Software defect information extraction, representative feature space construction, and optimal ensemble ELM classification based on GA and recommendation. In order to understand the proposed method better, we first give a brief description for each of the three steps below. (1) Software defect information extraction. A bug report contains much information. However, not all of the information is useful. We are only interested in information that can be used to extract the software defect features for a bug triage. The goal of this step is filtering some irrelevant information, such as URL, target milestone, writeboard, keywords and so on. In this step, we complete the initial filter with stemming _f_ ( _x_ ) = _N_ _i_ =1 where _H_ ( w1 _, . . .,_ wL _, d_ 1 _, . . ., dL,_ x1 _, . . .,_ xL ) _g_ ( w1 - x1 + _d_ 1) _. . ._ _g_ ( wL - x1 + _dL_ ) _..._ _. . ._ _..._ _g_ ( w1 - xM + _d_ 1) _. . ._ _g_ ( wL - xM + _dL_ )   _M_ × _L_ = _β_ =   - _β_ 1 <sup>_T_</sup> <sup>_, . . ., β_</sup> _L_ <sup>_T_</sup> _,_ - _T_ _n_ × _L_ FIGURE 4. Overview of defect triage. and removing of the stop words. More detailed information is given in subsection 4.1∼4.2. (2) Diversified feature space construction. In this step, we use the defect information to construct a feature space of software defect reports. In this step, we mainly preprocessed the defect information, and finish the diversified feature selection of the representative features. The goal of this step is to select a representative group of nonredundant feature sets with relative maximal statistical information on the developer triage. More detailed information is given in section 4.3. (3) Optimal ELM classification based on GA. Finally, based on the selected the diversity features, we train the ensemble ELM classifier. Fixers are as the labels used to train the ELM classifier. In this step, we develop an assembling ELM-based genetic algorithm to further promote the classifier’s effectiveness. This method can output the mean value of a several weighted classifiers. Instead of assigning equal weights to every classifier, for better-performing classifiers, we set their weight coefficients to be higher. In this paper, we use a genetic algorithm based method to find the optimal weight allocation coefficients for each classifier. When there are new software defects generated, we recommend the most suitable fixer according to the trained model. More details are given in section 4.4. _A._ _SOFTWARE DEFECT INFORMATION EXTRACTION_ Most of the previous researchers extracted from the defect reports only information about the description and the corresponding contributors. However, we found that the summary and comments of the defect reports also provided substantial valuable software defect information. The summary briefly describes the basic types and locations of defects, and comments are the communication that the developer has made when repairing the software defects. Therefore, in addition to extracting the description and restorers’ information of the defect reports, we also collect the summary and comments to improve the accuracy of the defect assignment. In this paper, we use the defect tracking system Bugzilla to obtain the defect report data. In Bugzilla, a defect report records the details of a software defect. We extract the useful information, such as part of the summary, the description and the comments of the report as candidate attribute information for the software defect triage. The contributors were extracted as the labels of training samples. However, in Bugzilla, the contributors are not always assigned to the real fixers of software defects. For example, one defect was repaired by another developer, not the first developer it was assigned to, and it is also possible that the information regarding the assignment did not receive timely updates. First of all, we selected defect report data in the state of ‘‘solve’’. In order to obtain the real fixers of software defects, we adopt the following rules: (1). If a software defect is repaired by the developer that it is assigned to, then this developer is assumed to be the final real fixer of defect; (2). If a defect is not repaired by a developer it is assigned to, then the person who modifies the status of defect reports to ‘‘solve’’ eventually is assume to be the real fixer. From the bug report, it can be seen that most of the bug report is about descriptive information and comments. However, the description and comments of software defect reports are in natural language descriptions, which contain much useless information. Even some noise affects the training effect of the classifier. The dimensional space may reach ten thousand dimensions or more when the text documents are represented by the vector space model. Thus, if we do not make perform data selection, it will be a complicated computation, which can not be tolerated in the actual classification. Therefore, it is important to preprocess the original data and select the representative features before training a classifier efficiently. There are two steps for preprocessing. The first step is stemming and the second step is removing the stop words. Stemming is the process of reducing inflected (or sometimes derived) words to their word stem, base or root formgenerally a written word form. The stem of this word is not necessarily the same as the root of the word. The stem is usually sufficiently relevant to the root, even if this stem itself is not a valid root. When turning a text document into a vector space model VSM, the same word may has different forms in description, such as word form, i.e., like past tense and progressive tense, as described in natural language on the software defect reports. We must unify the word forms in the data preprocessing. Generally, there are some classic algorithms based on grammar rules, such as Porter stemmer and snowball stemmer. In this paper, we choose snowball stemmer for stemming. The process of stemming extracts a word stem or root [4], mainly taking advantage of language rules to get the primary form of words. For example, in Table 1, the word ‘‘spending’’ turns into ‘‘spend’’, the word ‘‘created’’ turns into ‘‘create’’, and the word ‘‘keeps’’ turns into ‘‘keep’’. We translate the same or similar words into a consistent form after extracting stems and improved the validity of the selected feature. Further, the step also helps to reduce the dimension of the data to some extent. TABLE 1. mapping relationship of the words and stems. The system will filter out some words or phrases before or after handling natural language data, and these words or phrases are called stop words. Generally, stop words are the function words in the human language, and these function words are extremely common. Compared with other words, function words have no actual meanings, such as: ‘‘the’’, ‘‘is’’, ‘‘a’’, ‘‘at’’, ‘‘which’’, ‘‘that’’, ‘‘on’’, numbers, characters, punctuation, etc. Although these stop words cannot separately express the degree of correlation for a document, these stop words will take up considerable space. In the extracted software defect reports, most of the words are stop words which are not useful for the training classifier. The researcher named Ho, Tin Kam at Bell laboratory of American thought that ‘‘in a typical English article, stop words account for more than half, but the number of these stop words less than 150’’ [5]. The literature [6] lists the lists of stop words, and the number reaches 658, which includes many letter combinations but not words. Therefore, we first build a stop list in Table 2 and then filter data according to the stop list, which means that the data corresponding to the word are removed and that the data dimension and the data size are also reduced. _B._ _REPRESENTATIVE FEATURE SELECTION_ There are much noise in bug reports. All-dimensional features will produce a high-dimensional vector if we map the TABLE 2. parts of stop list. original data onto the vector space directly. Further, the noise also increases the complexity of time, the complexity of space and affects the accuracy of the classification [14], [15]. Therefore, efficient feature selection is an essential task for filtering those meaningless features, such as redundant features or irrelevant features, while retaining the important features. It is necessary for us to use a suitable feature selection method to reduce the feature space dimension and noise to improve the efficiency and accuracy of the classification. The common feature selection methods include mutual information (MI), information gain (IG), term strength (TS), chi-square (CHI). In the naive method, we choose IG as the feature selection method. The literature [36] claims that IG is one of the best feature selection methods. The formula of IG feature selection is as following: _ni,j_ _tfij_ = <u>�</u> _k_ <sup>_nk,j_</sup> _P_ ( _Cv/u_ ) log <sup>_<u>P</u>_</sup> <sup><u>(</u></sup> <sup>_<u>Cv/u</u>_</sup> <sup><u>)</u></sup> _P_ ( _Cv_ ) _IG_ ( _u_ ) = _P_ ( _u_ ) _t_ _P_ ( _Cv_ _~~/~~_ _<u>u</u>_ <u>) log</u> <sup>_<u>P</u>_</sup> <sup><u>(</u></sup> <sup>_<u>Cv/u</u>_</sup> <sup><u>)</u></sup> (6) _P_ ( _Cv_ ) + _P_ <u>(</u> _<u>u</u>_ <u>)</u> _t_ where _v_ is the total number of developer tags. _P_ ( _u_ ) represents the probability of feature _u_ . _P_ ( _Cv/u_ ) represents the conditional probability of belonging to developer _Cv_ class when the text contains feature _u_ . _P_ ( _Cv_ ) represents the probability of information text belonging to developer _Cv_ in a text set. _P_ ( _<u>u</u>_ <u>) represents the probability that feature</u> _u_ does not appear in the text. _P_ ( _Cv/u_ <u>)</u> represents the probability of belonging to the developer _Cv_ class when the text does not contain feature _u_ . In the experiments, we select a feature subset by the IG method to reduce the dimension of the vector space and filter the noise. In the next step, we weight the feature words of different frequencies to improve the triage accuracy of software defect reports. If a word shows up in a paper with a high frequency, and rarely appears in other papers, this word has a very good ability to differentiate categories and is suitable for classification. In this case, we compute the weight-value for different important terms by using the TF-IDF method. The TF-IDF algorithm was proposed firstly in the literature by [7]. Later, Salton _et_ _al._ [8] demonstrated the validity of TF-IDF repeatedly. TF-IDF is a statistical method used to evaluate the degree of the importance of a word for a document in a file set. For a given feature word _ti_, the _tfij_ of this word can be expressed as: (7) In the above formula, _ni,j_ is the number of times this feature word appears in the document _dj_ . The denominator represents the sum of the frequencies of all words that occur in the file. The _idfi_ of this word shown as: | _<u>D</u>_ | _idfi_ = log(1 + 1 + | _j_ : _ti_ ∈ _dj_ | <sup>)</sup> (8) | _D_ | is the total number of files in the file set. | _j_ : _ti_ ∈ _dj_ | represents the numbers of files including feature word _ti_ . If this feature word is not in the file set, then the denominator is zero, in this case, it is written as 1 + |{ _j_ : _ti_ ∈ _dj_ }|. The weight _wi,j_ of feature word _ti_ in file _dj_ can be expressed as: _tfi,j_ _wi,j_ = _maxj_ { _tfk,j_ } <sup>×</sup> <sup>_idfi_</sup> (9) _maxj_ { _tfk,j_ } is the maximum number of feature words _tf_ in file _dj_ . The weights of all the feature words with the above methods are calculated, and the process is normalized by establishing the vector space model (VSM). After the processing of feature selection, we select the top-k features as the representative features. However, because these feature words are based on all the sample data, next, we must to establish the VSM of each sample data according to the feature words. During the construction of VSM, we utilize the following principles: (1) Searching the data of each sample according to the feature words chosen. If the sample contains the feature words, then the VSM dimension value is 1; otherwise, the value is 0. (2) Assigning values to the sample VSM according to the corresponding weight of each feature word calculated above. That means that if the dimension value is 1, the calculated value is the weight of the feature words. Otherwise, if the dimension value is 0, the value is unchanged. V. OPTIMAL ELM ENSEMBLING BASED ON GA When given some selected representative features, it is not difficult to train a two-class problem ELM classifier. However, many real-world data are multiclass and unbalanced [37]. Nevertheless, a multiclass problem can be solved by a primitive ELM with multiple learners. As we all know, an ensemble learner is much better than a single learner is, and ensemble strategies are more successful in many real-world domains [28]. Thus, in this paper, we proposed an ensemble of ELMs of multiple binary for lifting the accuracy. In ELM, weights are set by random, however; weights also affect the accuracy of classification to some extent. In fact, the weights can be set higher for those classifiers performing well and lower for others. Therefore, finding the optimal weight coefficient can be transformed into optimization problem, which is difficult to be exactly settled especially when there are fewer feature dimensions. Using an intelligent optimization algorithm combined with ELM to extract the performance of high SLFNs has become a hot research topic [17]. In this paper, a genetic algorithm (GA) based method is proposed to explore the appropriate weight coefficients for each classifier. where _k_ 1 = _k_ 3 = 1 _._ 0 [13]. <u>The</u> formula satisfies the following conditions: if _fmaxfit_ = _fit_, then _fit_ <sup>′</sup> = _fmaxfit_ and _δc_ = _k_ 3. The purpose of this is to achieve a balance between A genetic algorithm is a random search optimization technique [11]. In GA, the search space is encoded in the form of _chromosomes_ . All the chromosomes make up the population. Each chromosome is associated with a fitness function representing the degree of superiority or inferiority of the chromosome. _Fitness function_ . Given a training instance _r_, the expected output of _r_ is _d_ ( _r_ ) and the actual output of the _x_ -th individual ELM is _ox_ ( _r_ ). During the training, we expect that the output of the actual _x_ should be consistent with the output of the running ELM. Moreover, let _Va_ be the validation set and _a_ = [ _a_ 1 _, a_ 2 _, . . ., aM_ ] be a possible weight coefficient. According to the literature [12], the estimated generalization error of the ensemble ELM corresponding to _a_ is: _M_ _j_ =1 _Ea_ <sup>_W_</sup> <sup>=</sup> _M_ _i_ =1 _aiajCij_ <sup>_W_</sup> <sup>=</sup> <sup>_aT C_</sup> <sup>_W a,_</sup> (10) where ( _fx_ ( _r_ ) − _d_ ( _r_ ))( _fj_ ( _r_ ) − _d_ ( _r_ )) (11) | _W_ | _Cxj_ <sup>_W_</sup> <sup>=</sup> _<u>r</u>_ ∈ _<u>W</u>_ where _Ea_ <sup>_W_</sup> _a_ <sup>_W_</sup> <sup>denotes the goodness of</sup> <sup>_a_</sup> <sup>. The smaller</sup> <sup>_E_</sup> _a_ <sup>_W_</sup> where _Ea_ <sup>_W_</sup> <sup>denotes the goodness of</sup> <sup>_a_</sup> <sup>. The smaller</sup> <sup>_E_</sup> _a_ <sup>_W_</sup> <sup>is,</sup> the better _a_ is. Thus, we use the formula _f_ ( _a_ ) = <u>1</u> as the _Ea_ <sup>_W_</sup> fitness function. _Selection_ . During each successive generation, a certain selection method is required to judge the merits and demerits of a chromosome using a fitness function in order to select the best solution. In this paper, we adopt the roulette wheel as the selection strategy. Each chromosome associated with a selection probability. If _ft_ is the fitness of individual _t_ in the population, the probability of an individual _t_ being selected is _<u>ft</u>_ _pt_ = _population_ _j_ =1 (12) _fj_ where _population_ is the total number of individuals in the population. In this case, chromosomes with lower fitness values are less likely to be selected, but there is still a small chance that they will. _Crossover_ . We adopt the normal single point crossover. The algorithm selects the crossover point between chromosomes randomly from a range from 0 to l. The crossover probability is calculated with the same method used in [13]. Supposing that _fmaxfit_ is the maximum fitness value on current population, the average fitness value of the population is _fit_ <sup>¯</sup> . Let _fit_ <sup>′</sup> be the larger of the fitness values among the solutions. The crossover probability is _δc_ . (13) _δc_ =   _k_ 1 × <sup>_fmaxfit_</sup> <sup>−</sup> <sup>_fit_</sup> <sup>′</sup> _fmaxfit_ - _f_ _k_ 1 × <sup>_fmaxfit_</sup> <sup>−</sup> <sup>_fit_</sup> <sup>′</sup> _,_ if _fit_ <sup>′</sup> _> fit,_  _k_ 3 _,_ otherwise. exploration and exploitation in a unique manner. The _δc_ is upgraded while the better of the two chromosomes is crossed. The _δc_ is low in order to decrease the probability of breaking off a good solution by crossover. _Mutation_ . Every chromosome has a process of mutation with a probability _δm_ [13]. Chromosome mutation probability is also a manifestation of chromosome survival. That is, _δm_ is given below: <sup>_i_</sup> _fmaxfit_ - _f_ (14) _δm_ =   <sup>_i_</sup> _k_ 2 × <sup>_fmaxfit_</sup> <sup>−</sup> <sup>_f_</sup> _,_ if _fit_ _> fit,_ In this set of experiments, we conduct the effectiveness analysis by comparing the classification accuracies over a series of combinations of different classifiers and feature selection methods. For each table in this subsection, the rows correspond to different classifiers, which are ELM, SVM, NaiveBayes, C4.5 and KNN the columns correspond to different feature selection methods, which are DF ( _abbr_ . of diverfied features), IG ( _abbr_ . of information gain), TR ( _abbr_ . of twoing rule), SM ( _abbr_ . of sum minority), MM ( _abbr_ . of max minority), GI ( _abbr_ . of gini index). Each entry corresponds to a different combination of the corresponding classifier and feature selection method, the accuracy of which is recorded in this entry. _Note_ : Diversified features here refers in particular to the discovered features by our method in Section 4. The other five feature selection methods are available in book [9]. The methods are widely used in machine learning and are used as comparative methods in many feature selection studies on various domains. Tables 4 ∼ 7 give the comparisons on the four real datasets. As seen from the four tables, the DF-based approach always provides the highest accuracy on all classifiers. This is mainly because the features selected by DF can be considered as providing the smallest but most representative coverage of all the FIGURE 5. Accuracy vs hidden nodes. FIGURE 6. Accuracy vs samples.  _k_ 4 _,_ otherwise. where the parameters _k_ 2 and _k_ 4 are set to 0 _._ 5. Each position of the chromosome is mutated with probability _δm_ . The value is replaced using a random variable drawn from a Laplacian distribution, _p_ ( _ϵ_ ) ∝ _e_ <sup>−</sup> <sup><u>|</u></sup> <sup>_<u>ϵ</u>_</sup> <sup><u>−</u></sup> _<u>β</u>_ <sup>_<u>α</u>_</sup> <sup><u>|</u></sup>, where the parameter _β_ is the perturbation magnitude and _α_ is the value of the position to be disturbed. _β_ is equal to 0 _._ 1. The newly generated value is in place of the old value at the position. Once we generate a random variable using Laplacian distribution, there is a probability of generating a value that is closer to the old value. The GA process of computing fitness value, selection, crossover and mutation is carried out in iteration. The optimal chromosome supplies the solution with the suitable weighted coefficient for the ensemble ELM classifier. The sum of the _weighti_ should be saved during the evolving. Therefore, we normalized the evolved _weight_ . The process of normal ization is: _weighti_ = _weighti/_ _M_ _i_ =1 _weighti_ . VI. EXPERIMENTAL ANALYSIS _DATASETS_ The experiments are conducted on both real datasets. IOT software can be submitted by many bug report tracking systems. In this paper, we collected four bug repositories including Bugzilla, <sup>1</sup> Eclipse, <sup>2</sup> GCC <sup>3</sup> and Netbeans <sup>4</sup> to to examine the performance of the ELM classifier effectively. Table 3 summarizes the characteristics of the four datasets: the number of samples (# bug reports), the average bug reports for each developer (# B.D), and the average comments of each developer _i_ (# C.D). For every experiment, we select 66% of the bug reports as training sets, and 34% as testing sets. 1https://bugzilla.mozilla.org/ 2https://bugs.eclipse.org/bugs/ 3https://gcc.gnu.org/bugzilla/buglist.cgi? 4https://netbeans.org/bugzilla/ TABLE 3. The real dataset information. TABLE 4. Accuracy on Eclipse vs #feature selection. TABLE 5. Accuracy on Firefox vs #feature selection. TABLE 6. Accuracy on Netbeans vs #feature selection. TABLE 7. Accuracy on GCC vs #feature selection. original features. They provide less redundant information than the other methods, while taking into account the feature interactions. Figures 5 ∼ 7 present the effectiveness comparison of four different data sets, including Bugzilla, Eclipse, GCC and Netbeans. The effectiveness is evaluated by comparing how the accuracy varies with the number of samples, hidden nodes, and features. Figure 5 shows the accuracy comparison with different hidden nodes changing while the number of features is fixed at 500 and the number of samples is fixed at 1500. Figure 6 shows the accuracy comparison when changing the number of different samples while the number of hidden nodes is fixed at 500 and the number of samples is fixed at 1500. Figure 7 shows the accuracy comparison when changing the number of features while the number of samples is fixed at 1500 and the number of hidden nodes is fixed at 500. As seen from the results, no matter how the number of samples, features or hidden nodes varies, DF-ELM is constantly better than IG-ELM. This outcome is because DF-ELM is based on a diversified feature selection. It explicitly performs a removing of the irrelevant and the redundant features. However, IG-ELM, ELM with feature selection by IG, runs FIGURE 7. Accuracy vs features. on the selected features, which makes it have an increasing chance of being affected by overfitting. The observation that DF-ELM is more accurate than IG-ELM is consistent with the fact that an ensemble is usually more accurate than a single learner is [28]. The time-consuming situation when a classifier model is constructed by using a training set is shown in FIGURE 8. Training times(s) on Eclipse. FIGURE 9. Training times(s) on Firefox. FIGURE 10. Training times(s) on Netbeans. Figure 8 ∼ Figure 15. Figure 8 ∼ Figure 11 shows the training times on different datasets and Figure 12 ∼ Figure 15 shows the testing times on different datasets. Taking the variety of features as an example, the training time is increasing as the number of data features increases. We concluded that DF-ELM is comparable to SVM, Naive Bayes, C4.5 and FIGURE 11. Training times(s) on GCC. FIGURE 12. Testing times(s) on Eclipse. FIGURE 13. Testing times(s) on Firefox. KNN on accuracy while using much less training time. Thus, DF-ELM has a better tradeoff between effectiveness and efficiency than that of SVM, Naive Bayes, C4.5 and KNN. Through the previous analysis, we have already known that, in most cases, ELM-based classifiers are the least FIGURE 14. Testing times(s) on Netbeans. FIGURE 15. Testing times(s) on GCC. time-consuming in terms of training. It can be seen that the DF-ELM-based classifier has the shortest testing time and that the size of the data does not have much effect on the testing time of DF-ELM classifier. However, C4.5-based classifier training takes the longest time in most cases. DF-ELM-based classifiers and Naive Bayes-based classifiers consume almost the same testing time in most cases. VII. CONCLUSION With the rapid development of the Internet of Things industry in the world, trouble-free software has played a greater role. The rapid and efficient elimination of bugs in the software is vital to the growth of Internet of Things enterprises. In this paper, we propose a software defect triage framework based on ELM. Through experiments, we conclude that the effects of the classification and the time consumption of the defect triage classifier based on ELM are much better than those of classifiers based on other algorithms. In future work, we will improve the ELM-based classifier. In this paper, when we assign a defect, each defect is assigned only to a specific restorer, which reduces the accuracy of the defect assignment because the software defects that can be repaired do not significantly differ between restorers in real of software development; in other words, a software defect can be repaired by multiple restorers. Thus, in the future, we will fully consider the capability of multiply restorers to repair defects and to recommend a number of the most appropriate restorers for each software defect, thereby improving the accuracy of defect assignment, especially for the growing of IOT enterprises. REFERENCES [1] N. S. M. Yusop, J. Grundy, and R. Vasa, ‘‘Reporting usability defects: A systematic literature review,’’ _IEEE_ _Trans._ _Softw._ _Eng._, vol. 43, no. 9, pp. 848–867, Sep. 2017. [2] N. S. M. Yusop, ‘‘Understanding usability defect reporting in software defect repositories,’’ in _Proc. ASWEC_, vol. 2, 2015, pp. 134–137. [3] W. Yu _et al._, ‘‘A survey on the edge computing for the Internet of Things,’’ _IEEE Access_, vol. 6, pp. 6900–6919, 2018. [4] G. Nicolai and G. Kondrak, ‘‘Leveraging inflection tables for stemming and lemmatization,’’ in _Proc. ACL_, vol. 1, 2016, pp. 1138–1147. [5] T. K. Ho, ‘‘Stop word location and identification for adaptive text recogni tion,’’ _Int. J. Document Anal. Recognit._, vol. 3, no. 1, pp. 16–26, 2000. [6] (Jun. 14, 2007). _Stop Word List-Words Filtered out by Search Engine Spi-_ _ders_ . [Online]. Available: http://www.twitterbuttonfactory.com/www/seoinnovation.com/ [7] G. Salton and C. T. Yu, ‘‘On the construction of effective vocabularies for information retrieval,’’ in _Proc. SIGIR_, 1973, pp. 48–60. [8] G. Salton, E. A. Fox, and H. Wu, ‘‘Extended Boolean information retrieval,’’ _Commun. ACM_, vol. 26, no. 11, pp. 1022–1036, 1983. [9] I. H. Witten, F. Eibe, and M. A. Hall, _Data_ _Mining:_ _Practical_ _Machine_ _Learning_ _Tools_ _and_ _Techniques_, 3rd ed. San Mateo, CA, USA: Morgan Kaufmann, 2011, pp. 1–629. [10] Z. Wang, Y. Zhao, G. Wang, Y. Li, and X. Wang, ‘‘On extending extreme learning machine to non-redundant synergy pattern based graph classification,’’ _Neurocomputing_, vol. 149, pp. 330–339, Feb. 2015. [11] D. E. Goldberg, _Genetic Algorithms in Search, Optimization, and Machine_ _Learning_ . Reading, MA, USA: Addison-Wesley, 1989, pp. 1–140. [12] Z.-H. Zhou, J.-X. Wu, Y. Jiang, and S.-F. Chen, ‘‘Genetic algorithm based selective neural network ensemble,’’ in _Proc._ _17th_ _Int._ _Joint_ _Conf._ _Artif._ _Intell. (IJCAI)_, Seattle, DC, USA, 2001, pp. 797–802. [13] M. Srinivas and L. M. Patnaik, ‘‘Adaptive probabilities of crossover and mutation in genetic algorithms,’’ _IEEE Trans. Syst., Man, Cybern._, vol. 24, no. 4, pp. 656–667, Apr. 1994. [14] M. Radovic, M. Ghalwash, N. Filipovic, and Z. Obradovic, ‘‘Minimum redundancy maximum relevance feature selection approach for temporal gene expression data,’’ _BMC Bioinf._, vol. 18, no. 1, pp. 9:1–9:14, 2017. [15] D. Zuckerman, ‘‘On unapproximable versions of _NP_ -complete problems,’’ _SIAM J. Comput._, vol. 25, no. 6, pp. 1293–1304, 1996. [16] G.-B. Huang, Q.-Y. Zhu, and C.-K. Siew, ‘‘Extreme learning machine: Theory and applications,’’ _Neurocomputing_, vol. 70, nos. 1–3, pp. 489–501, 2006. [17] G. Huang, G.-B. Huang, S. Song, and K. You, ‘‘Trends in extreme learning machines: A review,’’ _Neural Netw._, vol. 61, pp. 32–48, Jan. 2015. [18] J. Anvik, L. Hiew, and G. C. Murphy, ‘‘Who should fix this bug?’’ in _Proc._ _Int. Conf. Softw. Eng._, Shanghai, China, 2006, pp. 361–370. [19] G.-B. Huang, Y.-Q. Chen, and H. A. Babri, ‘‘Classification ability of single hidden layer feedforward neural networks,’’ _IEEE_ _Trans._ _Neural_ _Netw._, vol. 11, no. 3, pp. 799–801, May 2000. [20] R. K. Roul, A. Nanda, V. Patel, and S. K. Sahay, ‘‘Extreme learning machines in the field of text classification,’’ in _Proc._ _SNPD_, Jun. 2015, pp. 217–223. [21] D. D. Wang, R. Wang, and H. Yan, ‘‘Fast prediction of protein–protein interaction sites based on extreme learning machines,’’ _Neurocomputing_, vol. 128, pp. 258–266, Mar. 2014. [22] G. Wang, Y. Zhao, and D. Wang, ‘‘A protein secondary structure prediction framework based on the extreme learning machine,’’ _Neurocomputing_, vol. 72, nos. 1–3, pp. 262–268, 2008. [23] T. Helmy and Z. Rasheed, ‘‘Multi-category bioinformatics dataset clas sification using extreme learning machine,’’ in _Proc._ _IEEE_ _Congr._ _Evol._ _Comput._, May 2009, pp. 3234–3240. [24] L. Scandolo, P. Bauszat, and E. Eisemann, ‘‘Merged multiresolution hier archies for shadow map compression,’’ _Comput._ _Graph._ _Forum_, vol. 35, no. 7, pp. 383–390, 2016. [25] K. Ning, M. Liu, and M. Dong, ‘‘A new robust ELM method based on a Bayesian framework with heavy-tailed distribution and weighted likelihood function,’’ _Neurocomputing_, vol. 149, pp. 891–903, Feb. 2015. [26] G.-B. Huang, X. Ding, and H. Zhou, ‘‘Optimization method based extreme learning machine for classification,’’ _Neurocomputing_, vol. 74, pp. 155–163, Dec. 2010. [27] G.-B. Huang, D. H. Wang, and Y. Lan, ‘‘Extreme learning machines: A survey,’’ _Int._ _J._ _Mach._ _Learn._ _Cybern._, vol. 2, no. 2, pp. 107–122, Jun. 2011. [28] N. Settouti, M. A. Chikh, and V. Barra, ‘‘A new feature selection approach based on ensemble methods in semi-supervised classification,’’ _Pattern_ _Anal. Appl._, vol. 20, no. 3, pp. 673–686, 2017. [29] T. Zhang, H. Jiang, X. Luo, and A. T. S. Chan, ‘‘A literature review of research in bug resolution: Tasks, challenges and future directions,’’ _Comput. J._, vol. 59, no. 5, pp. 741–773, 2016. [30] T. Zhang, G. Yang, B. Lee, and A. T. S. Chan, ‘‘Guiding bug triage through developer analysis in bug reports,’’ _Int. J. Softw. Eng. Knowl. Eng._, vol. 26, no. 3, pp. 405–432, 2016. [31] E. A. Felix and S. P. Lee, ‘‘Integrated approach to software defect predic tion,’’ _IEEE Access_, vol. 5, pp. 21524–21547, 2017. [32] J. Xuan, H. Jiang, Z. Ren, J. Yan, and Z. Luo. (2017). ‘‘Automatic bug triage using semi-supervised text classification.’’ [Online]. Available: https://arxiv.org/abs/1704.04769 [33] J. Xuan _et al._, ‘‘Towards effective bug triage with software data reduction techniques,’’ _IEEE Trans. Knowl. Data Eng._, vol. 27, no. 1, pp. 264–280, Jan. 2015. [34] S. N. Ahsan, J. Ferzund, and F. Wotawa, ‘‘Automatic software bug triage system (BTS) based on latent semantic indexing and support vector machine,’’ in _Proc._ _14th_ _Int._ _Conf._ _Softw._ _Eng._ _Adv._, Sep. 2009, pp. 216–221. [35] D. Cubranic and G. C. Murphy, ‘‘Automatic bug triage using text cate gorization,’’ in _Proc._ _16th_ _Int._ _Conf._ _Softw._ _Eng._ _Knowl._ _Eng._, Jun. 2004, pp. 92–97. [36] H. T. Le, T. Urruty, S. Gbèhounou, F. Lecellier, J. Martinet, and C. Fernandez-Maloigne, ‘‘Improving retrieval framework using information gain models,’’ _Signal, Image Video Process._, vol. 11, no. 2, pp. 309– 316, 2017. [37] S. Huda _et_ _al._, ‘‘An ensemble oversampling model for class imbal ance problem in software defect prediction,’’ _IEEE_ _Access_, vol. 6, pp. 24184–24195, 2018. YING YIN (M’11) received the B.E., M.E., and Ph.D. degrees in computer science from Northeastern University, China, in 2002, 2005, and 2008, respectively. He is currently an Associate Professor with the School of Information Science and Engineering, Northeastern University. His major research interests include data mining and machine learning. He is a member of ACM and CCF. XIANGJUN DONG received the M.E. degree in computer applications from Shandong Industrial University in 1999 and the Ph.D. degree in computer applications from the Beijing Institute of Technology in 2005. He is currently a Professor with the School of Information, Qilu University of Technology, Jinan, China. He has published research papers in national and international journals and in conference proceedings. His research interests include association rules, sequential pattern mining, and negative sequential pattern mining. TIANTIAN XU received the B.E. and M.E. degrees in computer applications from the Qilu University of Technology in 2012 and 2015, respectively. She has published research papers in international journals. Her research interests include pattern recognition, association rules, and sequential pattern mining.

섹션 본문 63문단 · 39,029자

(제목 없음)

1The reliable implementation of software in an Internet system directly influences information transmission especially for the Internet of Things (IoT) system. Once defects in the system are found, the communication between things and things and the interaction between people and things in the IoT will be greatly affected. Therefore, rapid and effective defect assignment to the right developer is the key to ensuring software quality and bringing down time consumption in the IoT software life cycle. However, as the size of the software becomes increasing larger, the requirement of users grows, and a large number of software bugs will be found every day. It is difficult for managers to assign the software defects to the appropriate developers. In this paper, a novel hybrid method based on a diversified feature selection and an ensemble extreme learning machine (ELM) is proposed. First, the useful information is extracted from defect reports; then, the data are preprocessed to establish a vector space model; and the diversified feature selection is preprocessed in order to select a smallest set of representative non-redundant features with maximal statistical information. Finally, an ensemble GA-based ELM training classifier is used. Experimental results show that, compared to SVM, C4.5, NaiveBayes, and KNN classifiers, the proposed ELM-based bug triage approach with representative feature selection techniques in this paper significantly improves the efficiency and the effectiveness of bug triages.INDEX TERMSIoT software, diversified feature selection, software defect triage, ensemble extreme learning machine (ELM).

I. INTRODUCTION

2The Internet of Things industry is developing rapidly all over the world. The development of the Internet of Things industry is dependent on the popularization of software products. Software covers many aspects of the Internet of Things system, such as the IOT terminal system, short-distance connections, IOT architecture, IOT browser, IOT security and other important applications [3]. According to an OMA survey, 60% of IOT enterprises believe that IOT products rely on open source software. According to the Vision Mobile survey, 91% of Internet of Things developers have used open bug repositories to seek help to repair defects and further improve the performance and safety of Internet of Things software. Reliable quality of software is the basis of ensuring the efficient and safe operation of the IOT system.

3Open software projects usually adopt an open bug repository, such as Bugzilla or JIRA to manage software defect reports that were submitted by developers and users from the process of software development and maintenance [1]. When one or some software bugs are found, software developers and users will submit bug reports to the repository in the form of software defect reports. A bug report describes the details or the features (such as version, description, component, and severity) of the submitted bug [2]. The advantage of the open repository is that it allows more bug reports to be submitted, confirmed and assigned.

4Traditional artificial defect triage is described below: First, test group members found the software defects and generated defect reports and then handed in the reports to the test group leader. Further, according to the defect reports, test group leader first judged whether or not it is a genuine bug report and determined the validity of the software defects, and then, the report is checked for duplication. If the reports are effective, then the numbers hand it over to the team leader. Finally, the team leader assigns the software bug reports to the most suitable developers according to their experience. Therefore, the project manager can use the system to assign the reports, manage the solution process and improve the quality of the software project. However, bug assignment expenses incur significant costs, such as time and human resources, especially for rapidly growing projects with many bug reports generated every day. For instance, there are on average more than 29 reports submitted to the platform each day in Eclipse [18]. Up to May 1, 2014, data show that Bugzilla has managed over 434,000 and 1,004,000 bug reports for Eclipse and Mozilla, respectively. Each bug report must be determined, validated and assigned to an appropriate developer based on its features(whether it is a new problem or an enhancement).

5The goal of most previous work on bug triage is to analyze bug reports to help developers or programmers repair the bugs efficiently. Jeong et al. put forward a graph model based on Markov chains to detect the defect information modified. Cubranic et al. [35] proposed a method that uses the Naive Bayes algorithm to convert the defect triage into text categorization. Since then, defect assignments based on text classification technology have been used. Nevertheless, the accuracies of the above two methods must to be improved when using these methods to triage defects. Xuan et al. [33] improved the accuracy of the classification by reducing the size of data using instances and selected feature combinations, improve the quality of the data, and selecting the appropriate instance selection and feature selection order. Ahsan et al. [34] mapped the defect report information to the latent semantic space, reduced the size of the data using singular value decomposition, improved the quality of the data, and then improved the accuracy of the defect assignments. Other studies use machine learning-based bug report triage methods to recommend suitable repairers [30], [32]. The method must provide a bug report with a repairer, extract some features of the existing bug report, train a model through machine learning, and then execute predictions on unknown bug reports; Other classification techniques, such as SVM, naive Bayes and decision trees are also used for triage [29], [31], [32]. In these methods, a vector space model is used to digitize bug reports. First, find the useless words in the text, select the other words, retain the more important words and calculate their weights. Defect assignment papers based on association rules have been presented in the literature. However, the large number of rules affects the efficiency of assignments. All in all, there are two major challenges to existing methods in the triage of defects: (1) The speed of bug triage should be improved; with the advent of the Internet era, increasingly more platforms support a variety of software, such as mobile phones, IPads and various mobile terminals; and in the face of large-scale bug reports, it is necessary to improve the efficiency and accuracy of bug allocation. (2) The triage accuracy must be improved; existing bug assignment methods for single report feature extraction and assignment accuracy must be improved. With the increasing size and complexity of software projects, an increasingly more bugs are generated. When a bug report is generated, it is important to assign it quickly and effectively to the appropriate repairer. Therefore, we require a fast and accurate defect triage algorithm to reduce the consumption of time and labor. Below are the primary contributions of this paper:

6In this paper, we propose an effective bug report feature learning model and an efficient bug assignment mechanism for the above challenges. The primary contributions of this article are as follows: (1) we propose a new hybrid bug triage method based on supervised learning and ensemble ELM classification based on GA. (2) We propose an efficient method to identify diversified features as the representative feature subsets of an all-dimensional space for each bug report. Not using all features to construct a large searching space, we only select those representative features with high relevance and diversification by adopting a greedy algorithm; and (3) We design an optimal ensemble ELM strategy by combining the selected diversified features to promote the strategy's effectiveness.

7The remainder of this paper is organized as follows. Section 2 gives the background of bug triage, including the information extracted from a bug report and the life-cycle of a bug report. Section 3 presents the theory of the extreme learning machine. Section 4 presents the hybrid ELM-based bug triage framework. Section 5 describes the representative feature selection and gives the process of solution in detail. Experimental analysis is elaborated in Section 6. Section 7 describes the previous related work on bug triage. Finally, Section 7 concludes this paper.

II. BUG REPORT

8Currently, bug repositories, such as Bugzilla, GNAT and JIRA are widely used in software projects to collect bug information, store bug reports and triage the bug fixers. Bug repositories play a very important role because they provide a communication channel for software developers around the world. With these repositories, many bug reports can be repaired in time. The emergence of an increasing number of bug repositories effectively improves the quality of software development. Bugs in repositories takes many forms, such as new features, defects, update operations or refactoring. Once a new software bug is found, this bug will be recorded by a recorder and submitted to the bug repository. The bug repository provides a database of problems for a software project. There are a series of states for a bug report over its lifecycle. We elaborate these states as a lifecycle graph of a bug report. Figure 1 shows the several states of a bug project for internet software. Other projects have similarities to this model.

9At first, the state of a bug report is marked as NEW when it is submitted to the bug repository. For a fixer/developer, once he/she has been assigned to the report, the status of bug report becomes ASSIGNED and the fixer/developer becomes an assignee. Once the report is closed, the status of a bug report is set to RESOLVED. It may further become VERIFIED or CLOSED when it is reopened again. The bug report provides an integrated record of a bug from being presented to being repaired or closed. Its content mainly includes (1) the migration process of the reported bug, such as new, assigned, reopened, resolved, closed, or fixed, and (2) the repair suggestions of the reviewer and the comments as well as the time of posting.

10Bug reports are similar in form in the same bug software repository, whether it be IOT software or network software. We take the Eclipse project as an example; Figure 2 shows a partial bug report on bug 425152 in Eclipse stored in Bugzilla. Each bug report consists of four parts: freeform text, predefined fields, attachments, and dependencies. Some items, such as such as the report creation date, identification number and reporter are provided when the report is created. Other attributes, such as the status (e.g., resolved or fixed), product (e.g., JDT), component (e.g., Core), hardware (e.g., PC Windows 7), version (e.g., 4.4), importance (e.g., P3), and target milestone (e.g., BETA J8), are described by the reporter when the report is submitted, but the report's status may be changed with modifications by the contributor. Figure 2 shows that a contributor named Jay Arthanareeswaran introduced a bug report on Jan.9, 2014. Jay Arthanareeswaran gave a detailed description of this bug about ''[compiler] Lambda Expression not resolved but flow analyzed leading to NPE''. In addition, he described some items associated with this bug report, including components, product and target milestone. Along with the progress of the fix, the status of bug report may change as well.

11The summary and description of the bug report is described by the freeform text which consists of a description, a summary and comments. The comments are posted by contributors. These contributors are happy to join in the discussion or have interests in fixing the bug of the project. Generally, contributors can also attach nontextural information, such as test cases and patches. For example, after Jay Arthanareeswaran submitted Bug 425152, there are 9 total comments from 4 contributors, such as Jay Arthanareeswaran, Srikanth Sankaran, Stephan Herrmann and Noopur Gupta. In Figure 3, we only display a part of the comments for bug 425152 in Eclipse stored in Bugzilla. Interestingly, Srikanth Sankaran also contributed 7 comments, Stephan Herrmann contributed 2 comments and Noopur Gupta also contributed 1 comment.

III. INTRODUCTION OF ELM

12In recent years, a new artificial neural network model learning method called extreme learning machine (ELM) has been proposed. Extreme learning machine (ELM) is a generalized single hidden-layer feedforward network. ELM described in Algorithm 1 provides better generalization performance with faster speeds than those of traditional feedforward neural network learning models [19]. In ELM, the hidden-layer node parameter is mathematically obtained instead of being iteratively tuned. The learning model not only ensures that the network has good generalization performance, but also greatly promotes the learning speed of the neural network and avoids many problems of using gradient descent learning methods, such as falling into local minima and slow convergence rates. VOLUME 6, 2018 As an excellent learning model, ELM has been applied in many fields successfully. For example, in [20], ELM was applied for plain text classification by using the OAO strategy and OAA scheme. An ELM-based XML document classification framework was proposed to improve the classification accuracy with an efficient voting strategy [19]. An ELM-based protein secondary prediction framework was proposed [22] to provide excellent performance with high speed. An ELM-based protein-protein interaction prediction framework on multichain sets was proposed by [21]; it uses ELM and SVM as comparisons. Studies indicate that ELM obtains a better recall than of SVM and shows an advantage with its higher speeds.

13The work [23] proposes an ELM-based classification on a microarry dataset, evaluating the classification performance on several microarray datasets. The use of ELM for multiresolution access of shadow map compression was proposed in [24]. The ELM-based optimization method for classification was elaborated in [25]. In recent years, the use of intelligent optimization algorithm combined with evolutionary limit learning machine (E-ELM), combined with differential evolution and the ELM algorithm, to improve the performance of SLFNs; In [4], an adaptive DE algorithm is used to optimize the hidden layer node parameters of SLFNs, and Moore-Penrose (MP) generalized inverse acquisition is used to optimize the hidden layer node parameters of SLFNs. IPSO-ELM was presented in [6], optimization of hidden layer node parameters in SLFNs using improved particle swarm Optimization. The output weights of SLFNs can be obtained using ELM, so the output weights of SLFNs can be improved. The performance of SLFNs has been improved. The algorithm has good performance in regression calculation and classification [7].

14As mentioned, ELM is a classifier based on SLFN. Standard SLFNs with M arbitrary samples (x i , t i ) ∈ R m×n and activation function g(x) are refer to [16] as

15where the number of hidden layer nodes is H , the weight vector between the i th hidden node and the input nodes is

16. . , w n i ] T , the weight vector between the i th hidden node and the output nodes is

17. . , β m i ] T , and the threshold of the i th hidden node is b i . The output of ELM is:

18where

19The decision function for classification [26] is:

20When g(x) approximates the M samples with zero error with L j=1 o j − t j = 0 and outputs β i , w i and d i such that

21The equation above can be expressed compactly as follows:

22All in all, ELM is relatively rapid compared with the traditional learning algorithms. ELM tends to have not only the smallest training error but also the smallest norm of weights [27]. More detailed introductions to ELM and its improvements can be found in a series of new published literatures. Figure 4, the defect triage framework consists of three major steps: Software defect information extraction, representative feature space construction, and optimal ensemble ELM classification based on GA and recommendation.

Algorithm 1 ELM

23In order to understand the proposed method better, we first give a brief description for each of the three steps below.

24(1) Software defect information extraction. A bug report contains much information. However, not all of the information is useful. We are only interested in information that can be used to extract the software defect features for a bug triage. The goal of this step is filtering some irrelevant information, such as URL, target milestone, writeboard, keywords and so on. In this step, we complete the initial filter with stemming (2) Diversified feature space construction. In this step, we use the defect information to construct a feature space of software defect reports. In this step, we mainly preprocessed the defect information, and finish the diversified feature selection of the representative features. The goal of this step is to select a representative group of nonredundant feature sets with relative maximal statistical information on the developer triage. More detailed information is given in section 4.3.

25(3) Optimal ELM classification based on GA. Finally, based on the selected the diversity features, we train the ensemble ELM classifier. Fixers are as the labels used to train the ELM classifier. In this step, we develop an assembling ELM-based genetic algorithm to further promote the classifier's effectiveness. This method can output the mean value of a several weighted classifiers.

26Instead of assigning equal weights to every classifier, for better-performing classifiers, we set their weight coefficients to be higher. In this paper, we use a genetic algorithm based method to find the optimal weight allocation coefficients for each classifier. When there are new software defects generated, we recommend the most suitable fixer according to the trained model. More details are given in section 4.4.

A. SOFTWARE DEFECT INFORMATION EXTRACTION

27Most of the previous researchers extracted from the defect reports only information about the description and the corresponding contributors. However, we found that the summary and comments of the defect reports also provided substantial valuable software defect information. The summary briefly describes the basic types and locations of defects, and comments are the communication that the developer has made when repairing the software defects. Therefore, in addition to extracting the description and restorers' information of the defect reports, we also collect the summary and comments to improve the accuracy of the defect assignment.

28In this paper, we use the defect tracking system Bugzilla to obtain the defect report data. In Bugzilla, a defect report records the details of a software defect. We extract the useful information, such as part of the summary, the description and the comments of the report as candidate attribute information for the software defect triage. The contributors were extracted as the labels of training samples. However, in Bugzilla, the contributors are not always assigned to the real fixers of software defects. For example, one defect was repaired by another developer, not the first developer it was assigned to, and it is also possible that the information regarding the assignment did not receive timely updates. First of all, we selected defect report data in the state of ''solve''. In order to obtain the real fixers of software defects, we adopt the following rules: (1). If a software defect is repaired by the developer that it is assigned to, then this developer is assumed to be the final real fixer of defect; (2). If a defect is not repaired by a developer it is assigned to, then the person who modifies the status of defect reports to ''solve'' eventually is assume to be the real fixer.

29From the bug report, it can be seen that most of the bug report is about descriptive information and comments. However, the description and comments of software defect reports are in natural language descriptions, which contain much useless information. Even some noise affects the training effect of the classifier. The dimensional space may reach ten thousand dimensions or more when the text documents are represented by the vector space model. Thus, if we do not make perform data selection, it will be a complicated computation, which can not be tolerated in the actual classification. Therefore, it is important to preprocess the original data and select the representative features before training a classifier efficiently. There are two steps for preprocessing. The first step is stemming and the second step is removing the stop words.

30Stemming is the process of reducing inflected (or sometimes derived) words to their word stem, base or root formgenerally a written word form. The stem of this word is not necessarily the same as the root of the word. The stem is usually sufficiently relevant to the root, even if this stem itself is not a valid root. When turning a text document into a vector space model VSM, the same word may has different forms in description, such as word form, i.e., like past tense and progressive tense, as described in natural language on the software defect reports. We must unify the word forms in the data preprocessing. Generally, there are some classic algorithms based on grammar rules, such as Porter stemmer and snowball stemmer. In this paper, we choose snowball stemmer for stemming.

31The process of stemming extracts a word stem or root [4], mainly taking advantage of language rules to get the primary form of words. For example, in Table 1, the word ''spending'' turns into ''spend'', the word ''created'' turns into ''create'', and the word ''keeps'' turns into ''keep''. We translate the same or similar words into a consistent form after extracting stems and improved the validity of the selected feature. Further, the step also helps to reduce the dimension of the data to some extent. The system will filter out some words or phrases before or after handling natural language data, and these words or phrases are called stop words. Generally, stop words are the function words in the human language, and these function words are extremely common. Compared with other words, function words have no actual meanings, such as: ''the'', ''is'', ''a'', ''at'', ''which'', ''that'', ''on'', numbers, characters, punctuation, etc. Although these stop words cannot separately express the degree of correlation for a document, these stop words will take up considerable space. In the extracted software defect reports, most of the words are stop words which are not useful for the training classifier. The researcher named Ho, Tin Kam at Bell laboratory of American thought that ''in a typical English article, stop words account for more than half, but the number of these stop words less than 150'' [5]. The literature [6] lists the lists of stop words, and the number reaches 658, which includes many letter combinations but not words. Therefore, we first build a stop list in Table 2 and then filter data according to the stop list, which means that the data corresponding to the word are removed and that the data dimension and the data size are also reduced.

B. REPRESENTATIVE FEATURE SELECTION

32There are much noise in bug reports. All-dimensional features will produce a high-dimensional vector if we map the original data onto the vector space directly. Further, the noise also increases the complexity of time, the complexity of space and affects the accuracy of the classification [14], [15]. Therefore, efficient feature selection is an essential task for filtering those meaningless features, such as redundant features or irrelevant features, while retaining the important features. It is necessary for us to use a suitable feature selection method to reduce the feature space dimension and noise to improve the efficiency and accuracy of the classification. The common feature selection methods include mutual information (MI), information gain (IG), term strength (TS), chi-square (CHI). In the naive method, we choose IG as the feature selection method. The literature [36] claims that IG is one of the best feature selection methods. The formula of IG feature selection is as following:

33where v is the total number of developer tags. P(u) represents the probability of feature u. P(C v /u) represents the conditional probability of belonging to developer C v class when the text contains feature u. P(C v ) represents the probability of information text belonging to developer C v in a text set. P(u) represents the probability that feature u does not appear in the text. P(C v /u) represents the probability of belonging to the developer C v class when the text does not contain feature u. In the experiments, we select a feature subset by the IG method to reduce the dimension of the vector space and filter the noise. In the next step, we weight the feature words of different frequencies to improve the triage accuracy of software defect reports.

34If a word shows up in a paper with a high frequency, and rarely appears in other papers, this word has a very good ability to differentiate categories and is suitable for classification. In this case, we compute the weight-value for different important terms by using the TF-IDF method. The TF-IDF algorithm was proposed firstly in the literature by [7]. Later, Salton et al. [8] demonstrated the validity of TF-IDF repeatedly. TF-IDF is a statistical method used to evaluate the degree of the importance of a word for a document in a file set. For a given feature word t i , the tf ij of this word can be expressed as:

35In the above formula, n i,j is the number of times this feature word appears in the document d j . The denominator represents the sum of the frequencies of all words that occur in the file. The idf i of this word shown as:

36|D| is the total number of files in the file set. |j : t i ∈ d j | represents the numbers of files including feature word t i . If this feature word is not in the file set, then the denominator is zero, in this case, it is written as 1 + |{j : t i ∈ d j }|. The weight w i,j of feature word t i in file d j can be expressed as:

37max j {tf k,j } is the maximum number of feature words tf in file d j . The weights of all the feature words with the above methods are calculated, and the process is normalized by establishing the vector space model (VSM).

38After the processing of feature selection, we select the top-k features as the representative features. However, because these feature words are based on all the sample data, next, we must to establish the VSM of each sample data according to the feature words. During the construction of VSM, we utilize the following principles:

39(1) Searching the data of each sample according to the feature words chosen. If the sample contains the feature words, then the VSM dimension value is 1; otherwise, the value is 0.

40(2) Assigning values to the sample VSM according to the corresponding weight of each feature word calculated above. That means that if the dimension value is 1, the calculated value is the weight of the feature words. Otherwise, if the dimension value is 0, the value is unchanged.

V. OPTIMAL ELM ENSEMBLING BASED ON GA

41When given some selected representative features, it is not difficult to train a two-class problem ELM classifier. However, many real-world data are multiclass and unbalanced [37]. Nevertheless, a multiclass problem can be solved by a primitive ELM with multiple learners. As we all know, an ensemble learner is much better than a single learner is, and ensemble strategies are more successful in many real-world domains [28]. Thus, in this paper, we proposed an ensemble of ELMs of multiple binary for lifting the accuracy.

42In ELM, weights are set by random, however; weights also affect the accuracy of classification to some extent. In fact, the weights can be set higher for those classifiers performing well and lower for others. Therefore, finding the optimal weight coefficient can be transformed into optimization problem, which is difficult to be exactly settled especially when there are fewer feature dimensions. Using an intelligent optimization algorithm combined with ELM to extract the performance of high SLFNs has become a hot research topic [17]. In this paper, a genetic algorithm (GA) based method is proposed to explore the appropriate weight coefficients for each classifier.

43A genetic algorithm is a random search optimization technique [11]. In GA, the search space is encoded in the form of chromosomes. All the chromosomes make up the population.

44Each chromosome is associated with a fitness function representing the degree of superiority or inferiority of the chromosome.

45Fitness function. Given a training instance r, the expected output of r is d(r) and the actual output of the x-th individual ELM is o x (r). During the training, we expect that the output of the actual x should be consistent with the output of the running ELM. Moreover, let V a be the validation set and a = [a 1 , a 2 , . . . , a M ] be a possible weight coefficient. According to the literature [12], the estimated generalization error of the ensemble ELM corresponding to a is:

46where

47where E W a denotes the goodness of a. The smaller E W a is, the better a is. Thus, we use the formula f (a) = 1 E W a as the fitness function.

48Selection. During each successive generation, a certain selection method is required to judge the merits and demerits of a chromosome using a fitness function in order to select the best solution. In this paper, we adopt the roulette wheel as the selection strategy. Each chromosome associated with a selection probability. If f t is the fitness of individual t in the population, the probability of an individual t being selected is

49where population is the total number of individuals in the population. In this case, chromosomes with lower fitness values are less likely to be selected, but there is still a small chance that they will. Crossover. We adopt the normal single point crossover. The algorithm selects the crossover point between chromosomes randomly from a range from 0 to l. The crossover probability is calculated with the same method used in [13]. Supposing that f maxfit is the maximum fitness value on current population, the average fitness value of the population isft. Let fit be the larger of the fitness values among the solutions. The crossover probability is δ c .

50where k 1 = k 3 = 1.0 [13]. The formula satisfies the following conditions: if f maxfit = fit, then fit = f maxfit and δ c = k 3 . The purpose of this is to achieve a balance between VOLUME 6, 2018 exploration and exploitation in a unique manner. The δ c is upgraded while the better of the two chromosomes is crossed. The δ c is low in order to decrease the probability of breaking off a good solution by crossover.

51Mutation. Every chromosome has a process of mutation with a probability δ m [13]. Chromosome mutation probability is also a manifestation of chromosome survival. That is, δ m is given below:

52where the parameters k 2 and k 4 are set to 0.5. Each position of the chromosome is mutated with probability δ m . The value is replaced using a random variable drawn from a Laplacian distribution, p( ) ∝ e − | −α| β , where the parameter β is the perturbation magnitude and α is the value of the position to be disturbed. β is equal to 0.1. The newly generated value is in place of the old value at the position. Once we generate a random variable using Laplacian distribution, there is a probability of generating a value that is closer to the old value.

53The GA process of computing fitness value, selection, crossover and mutation is carried out in iteration. The optimal chromosome supplies the solution with the suitable weighted coefficient for the ensemble ELM classifier. The sum of the weight i should be saved during the evolving. Therefore, we normalized the evolved weight. The process of normalization is:

VI. EXPERIMENTAL ANALYSIS DATASETS

54The experiments are conducted on both real datasets. IOT software can be submitted by many bug report tracking systems. In this paper, we collected four bug repositories including Bugzilla, 1 Eclipse, 2 GCC 3 and Netbeans 4 to to examine the performance of the ELM classifier effectively. Table 3 summarizes the characteristics of the four datasets: the number of samples (# bug reports), the average bug reports for each developer (# B.D), and the average comments of each developer i(# C.D). For every experiment, we select 66% of the bug reports as training sets, and 34% as testing sets. In this set of experiments, we conduct the effectiveness analysis by comparing the classification accuracies over a series of combinations of different classifiers and feature selection methods. For each table in this subsection, the rows correspond to different classifiers, which are ELM, SVM, NaiveBayes, C4.5 and KNN the columns correspond to different feature selection methods, which are DF (abbr. of diverfied features), IG (abbr. of information gain), TR (abbr. of twoing rule), SM (abbr. of sum minority), MM (abbr. of max minority), GI (abbr. of gini index). Each entry corresponds to a different combination of the corresponding classifier and feature selection method, the accuracy of which is recorded in this entry. Note: Diversified features here refers in particular to the discovered features by our method in Section 4. The other five feature selection methods are available in book [9]. The methods are widely used in machine learning and are used as comparative methods in many feature selection studies on various domains.

55Tables 4 ∼ 7 give the comparisons on the four real datasets. As seen from the four tables, the DF-based approach always provides the highest accuracy on all classifiers. This is mainly because the features selected by DF can be considered as providing the smallest but most representative coverage of all the original features. They provide less redundant information than the other methods, while taking into account the feature interactions.

56Figures 5 ∼ 7 present the effectiveness comparison of four different data sets, including Bugzilla, Eclipse, GCC and Netbeans. The effectiveness is evaluated by comparing how the accuracy varies with the number of samples, hidden nodes, and features. Figure 5 shows the accuracy comparison with different hidden nodes changing while the number of features is fixed at 500 and the number of samples is fixed at 1500. Figure 6 shows the accuracy comparison when changing the number of different samples while the number of hidden nodes is fixed at 500 and the number of samples is fixed at 1500. Figure 7 shows the accuracy comparison when changing the number of features while the number of samples is fixed at 1500 and the number of hidden nodes is fixed at 500.

57As seen from the results, no matter how the number of samples, features or hidden nodes varies, DF-ELM is constantly better than IG-ELM. This outcome is because DF-ELM is based on a diversified feature selection. It explicitly performs a removing of the irrelevant and the redundant features. However, IG-ELM, ELM with feature selection by IG, runs on the selected features, which makes it have an increasing chance of being affected by overfitting. The observation that DF-ELM is more accurate than IG-ELM is consistent with the fact that an ensemble is usually more accurate than a single learner is [28].

58The time-consuming situation when a classifier model is constructed by using a training set is shown in Figure 11 shows the training times on different datasets and Figure 12 ∼ Figure 15 shows the testing times on different datasets. Taking the variety of features as an example, the training time is increasing as the number of data features increases. We concluded that DF-ELM is comparable to SVM, Naive Bayes, C4.5 and KNN on accuracy while using much less training time. Thus, DF-ELM has a better tradeoff between effectiveness and efficiency than that of SVM, Naive Bayes, C4.5 and KNN.

59Through the previous analysis, we have already known that, in most cases, ELM-based classifiers are the least time-consuming in terms of training. It can be seen that the DF-ELM-based classifier has the shortest testing time and that the size of the data does not have much effect on the testing time of DF-ELM classifier. However, C4.5-based classifier training takes the longest time in most cases. DF-ELM-based classifiers and Naive Bayes-based classifiers consume almost the same testing time in most cases.

VII. CONCLUSION

60With the rapid development of the Internet of Things industry in the world, trouble-free software has played a greater role. The rapid and efficient elimination of bugs in the software is vital to the growth of Internet of Things enterprises. In this paper, we propose a software defect triage framework based on ELM. Through experiments, we conclude that the effects of the classification and the time consumption of the defect triage classifier based on ELM are much better than those of classifiers based on other algorithms. In future work, we will improve the ELM-based classifier. In this paper, when we assign a defect, each defect is assigned only to a specific restorer, which reduces the accuracy of the defect assignment because the software defects that can be repaired do not significantly differ between restorers in real of software development; in other words, a software defect can be repaired by multiple restorers. Thus, in the future, we will fully consider the capability of multiply restorers to repair defects and to recommend a number of the most appropriate restorers for each software defect, thereby improving the accuracy of defect assignment, especially for the growing of IOT enterprises.

61YING YIN (M'11) received the B.E., M.E., and Ph.D. degrees in computer science from Northeastern University, China, in 2002China, in , 2005China, in , and 2008, respectively. He is currently an Associate Professor with the School of Information Science and Engineering, Northeastern University. His major research interests include data mining and machine learning. He is a member of ACM and CCF.

62XIANGJUN DONG received the M.E. degree in computer applications from Shandong Industrial University in 1999 and the Ph.D. degree in computer applications from the Beijing Institute of Technology in 2005. He is currently a Professor with the School of Information, Qilu University of Technology, Jinan, China. He has published research papers in national and international journals and in conference proceedings. His research interests include association rules, sequential pattern mining, and negative sequential pattern mining.

63TIANTIAN XU received the B.E. and M.E. degrees in computer applications from the Qilu University of Technology in 2012 and 2015, respectively. She has published research papers in international journals. Her research interests include pattern recognition, association rules, and sequential pattern mining.

참고문헌 37건

  1. Data Mining: Practical Machine Learning Tools and Techniques Elsevier eBooks · Elsevier BV · 2011 10.1016/c2009-0-19715-5
  2. Extreme learning machines in the field of text classification 2015 10.1109/snpd.2015.7176204
  3. Automatic bug triage using text categorization. Software Engineering and Knowledge Engineering · 2004
  4. Fast prediction of protein–protein interaction sites based on Extreme Learning Machines Neurocomputing · Elsevier BV · 2013 10.1016/j.neucom.2012.12.062
  5. Adaptive probabilities of crossover and mutation in genetic algorithms IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1994 10.1109/21.286385
  6. Extreme learning machines: a survey International Journal of Machine Learning and Cybernetics · Springer Science+Business Media · 2011 10.1007/s13042-011-0019-y
  7. On Unapproximable Versions of $NP$-Complete Problems SIAM Journal on Computing · Society for Industrial and Applied Mathematics · 1996 10.1137/s0097539794266407
  8. On the construction of effective vocabularies for information retrieval ACM SIGIR Forum · Association for Computing Machinery · 1973 10.1145/951761.951766
  9. Stop word location and identification for adaptive text recognition International Journal on Document Analysis and Recognition (IJDAR) · Springer Science+Business Media · 2000 10.1007/pl00013551
  10. A protein secondary structure prediction framework based on the Extreme Learning Machine Neurocomputing · Elsevier BV · 2008 10.1016/j.neucom.2008.01.016
  11. Towards Effective Bug Triage with Software Data Reduction Techniques IEEE Transactions on Knowledge and Data Engineering · IEEE Computer Society · 2014 10.1109/tkde.2014.2324590
  12. Extended Boolean information retrieval Communications of the ACM · Association for Computing Machinery · 1983 10.1145/182.358466
  13. Who should fix this bug? Proceedings of the 44th International Conference on Software Engineering · 2006 10.1145/1134285.1134336
  14. A new robust ELM method based on a Bayesian framework with heavy-tailed distribution and weighted likelihood function Neurocomputing · Elsevier BV · 2014 10.1016/j.neucom.2014.07.045
  15. On extending extreme learning machine to non-redundant synergy pattern based graph classification Neurocomputing · Elsevier BV · 2014 10.1016/j.neucom.2013.11.057
  16. Genetic algorithm based selective neural network ensemble International Joint Conference on Artificial Intelligence · 2001
  17. Classification ability of single hidden layer feedforward neural networks IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 2000 10.1109/72.846750
  18. Automatic Software Bug Triage System (BTS) Based on Latent Semantic Indexing and Support Vector Machine 2009 10.1109/icsea.2009.92
  19. Multi-category bioinformatics dataset classification using extreme learning machine 2009 10.1109/cec.2009.4983354
  20. Extreme learning machine: Theory and applications Neurocomputing · Elsevier BV · 2006 10.1016/j.neucom.2005.12.126
  21. Trends in extreme learning machines: A review Neural Networks · Elsevier BV · 2014 10.1016/j.neunet.2014.10.001
  22. Optimization method based extreme learning machine for classification Neurocomputing · Elsevier BV · 2010 10.1016/j.neucom.2010.02.019
  23. A new feature selection approach based on ensemble methods in semi-supervised classification Pattern Analysis and Applications · Springer Science+Business Media · 2015 10.1007/s10044-015-0524-9
  24. A Literature Review of Research in Bug Resolution: Tasks, Challenges and Future Directions The Computer Journal · Oxford University Press · 2015 10.1093/comjnl/bxv114
  25. Understanding Usability Defect Reporting in Software Defect Repositories 2015 10.1145/2811681.2817757
  26. Guiding Bug Triage through Developer Analysis in Bug Reports International Journal of Software Engineering and Knowledge Engineering · World Scientific · 2016 10.1142/s0218194016500170
  27. Improving retrieval framework using information gain models Signal Image and Video Processing · Springer Science+Business Media · 2016 10.1007/s11760-016-0938-x
  28. Leveraging Inflection Tables for Stemming and Lemmatization. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · 2016 10.18653/v1/p16-1108
  29. Merged Multiresolution Hierarchies for Shadow Map Compression Computer Graphics Forum · Wiley · 2016 10.1111/cgf.13035
  30. Reporting Usability Defects: A Systematic Literature Review IEEE Transactions on Software Engineering · IEEE Computer Society · 2016 10.1109/tse.2016.2638427
  31. Minimum redundancy maximum relevance feature selection approach for temporal gene expression data BMC Bioinformatics · BioMed Central · 2017 10.1186/s12859-016-1423-9
  32. Integrated Approach to Software Defect Prediction IEEE Access · Institute of Electrical and Electronics Engineers · 2017 10.1109/access.2017.2759180
  33. A Survey on the Edge Computing for the Internet of Things IEEE Access · Institute of Electrical and Electronics Engineers · 2017 10.1109/access.2017.2778504
  34. An Ensemble Oversampling Model for Class Imbalance Problem in Software Defect Prediction IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2817572
  35. Automatic Bug Triage using Semi-Supervised Text Classification arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1704.04769
  36. Genetic algorithms in search, optimization, and machine learning Choice Reviews Online · Association of College and Research Libraries · 1989 10.5860/choice.27-0936
  37. On the construction of effective vocabularies for information retrieval 1973 10.1145/951762.951766