Software defect prediction method, device, storage medium and electronic equipment

A software defect prediction and preset distance technology, applied in the field of data processing, can solve problems such as low prediction accuracy, inability to fundamentally improve prediction performance, and poor user experience, and achieve high accuracy, improved prediction performance, and user experience. Good results

Pending Publication Date: 2018-10-12
CHINA ACADEMY OF ELECTRONICS & INFORMATION TECH OF CETC
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a software defect prediction method, device, storage medium and electronic equipment to solve the following problems in the prior art: the existing class imbalance learning method focuses on how to adjust the class distribution or improve the algorithm, and cannot fundamentally Improve the prediction performance of this type of problem, the prediction accuracy is low, and the user experience is poor

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 defect prediction method, device, storage medium and electronic equipment
  • Software defect prediction method, device, storage medium and electronic equipment
  • Software defect prediction method, device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to solve the following problems in the existing technology: the existing class imbalance learning method focuses on how to adjust the class distribution or improve the algorithm, which cannot fundamentally improve the prediction performance of this type of problem, the prediction accuracy is low, and the user experience is poor; The present invention provides a software defect prediction method, device, storage medium and electronic equipment. The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0024] The first embodiment of the present invention provides a software defect prediction method, the flow of the method is as follows figure 1 As shown, including steps S101 to S103:

[0025] S101. Select a predetermined number of sample data...

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 defect prediction method, a software defect prediction device, a storage medium and electronic equipment. The method comprises: selecting a predetermined number of sample data in a first preset original data set according to a first preset selection rule to obtain a first prototype data set; calculating a first data set of dissimilarity between the first preset original data set and the first prototype data set according to the first preset distance algorithm; and inputting the data in the first data set to a preset software defect prediction model to obtainthe software defect prediction result corresponding to the first preset original data set, wherein the preset software defect prediction model is a model constructed according to the preset dissimilarity. By using the invention, it is possible to determine whether the software has defects according to the dissimilarity, and fundamentally improve the prediction performance with relatively high accuracy and good user experience, thereby solving the problems in the prior art.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a software defect prediction method, device, storage medium and electronic equipment. Background technique [0002] The number of defective samples in software defect datasets is often much smaller than that of non-defective samples, so software defect prediction can be regarded as a class imbalance learning problem. In the learning process of class imbalance learning, the misclassification costs of different classes are also different, and the misclassification cost of the minority class (defective) is much higher than the misclassification cost of the majority class (non-defective). For the cost of misclassification, the prediction algorithm pays more attention to improving the prediction accuracy of defective minority samples. In fact, traditional classification algorithms are usually based on the premise of balanced class distribution and equal misclassification costs, with th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3608
Inventor 张雪莹李瑞贤杨云祥郭静吉祥胡校成唐先超宋超江逸楠段锐阳兵
Owner CHINA ACADEMY OF ELECTRONICS & INFORMATION TECH OF CETC
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