Software BUG classification method based on sparse cost matrix

A technology of cost matrix and classification method, which is applied in the field of evolutionary algorithm, software bug classification, machine learning and local generalization error, and can solve problems such as inapplicability of rules of thumb

Pending Publication Date: 2020-09-29
DALIAN MARITIME UNIVERSITY
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is worth noting that it is crucial to set reasonable cost values ​​for different class samples, however, the rules

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software BUG classification method based on sparse cost matrix
  • Software BUG classification method based on sparse cost matrix
  • Software BUG classification method based on sparse cost matrix

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the technical solutions and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the drawings in the embodiments of the present invention:

[0062] Such as figure 1 A software bug classification method based on a sparse cost matrix is ​​shown, which specifically includes the following steps:

[0063] S1: Obtain the software BUG report, and classify the report (such as: serious, not serious), and obtain the category number C.

[0064] S2: Coding the software BUG report data, processing each software BUG report into a vector of the same length, and encoding the category of the software BUG report into a one-hot format.

[0065] S3: Initialize the sparse cost matrix, and the size of the matrix is ​​related to software bug category C.

[0066] S4: Use the coded data to train the weighted extreme learning machine so that it can outp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a software BUG classification method based on a sparse cost matrix. The method comprises the following steps of S1, obtaining a software BUG report; s2, encoding the software BUG report data; S3, initializing a sparse cost matrix; s4, training a weighted extreme learning machine by using the encoded data to enable the weighted extreme learning machine to output a correct report classification result; s5, solving a local generalization error of the weighted extreme learning machine by using the trained weighted extreme learning machine; s6, generating a new software BUGsparse weight matrix by using a crossover mutation strategy in a differential evolution algorithm; s7, training a new weighted extreme learning machine on the same unbalanced data set by using the newsparse weight matrix; S8, until a lower local generalization error cannot be obtained; and S9, predicting an unknown software BUG report by using a weighted extreme learning machine capable of obtaining the lowest local generalization error to obtain a corresponding report classification result.

Description

technical field [0001] The invention relates to software BUG classification, evolutionary algorithm, machine learning and local generalization error, in particular to a software BUG classification method based on sparse cost matrix for software BUG classification. Background technique [0002] Despite many advances in the field of software bug classification, existing work fails to achieve favorable performance when impacted by complex datasets with imbalanced forms. Unbalanced data problems are very common in many scenarios. Biased class distributions often lead to classification learning not being able to obtain the features of minority class samples. However, standard classification learning, including most extreme learning machine work, assumes two assumptions, equal misclassification costs and balanced class distribution, which often do not hold in practice. To address this issue, cost-sensitive and weighted extreme learning machines have been proposed for imbalanced ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36G06F16/906G06N3/04G06N3/08
CPCG06F11/3608G06F16/906G06N3/086G06N3/045
Inventor 李辉杨溪张天伦李阳陈荣李博
Owner DALIAN MARITIME UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products