Software defect prediction method and system

A software defect prediction, defect-free technology, applied in software testing/debugging, neural learning methods, computer parts, etc., can solve the problem of not reflecting the nonlinear nature of data, not considering sample category information, and not being able to handle samples well data, etc.

Active Publication Date: 2017-07-28
NANJING UNIV OF POSTS & TELECOMM
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0024] For the traditional dimensionality reduction method, there are some deficiencies, such as Principal Component Analysis (PCA) method, its theory is perfect, and the calculation is effective, and it has a good dimensionality reduction effect on the data set whose internal structure is linear structure, but in the surface For linearly inseparable data, PCA cannot reflect the nonlinear nature of the data; and the multidimensional scaling algorithm (MDS) cannot handle sample data with nonlinear structures well.
For the popular learning dimension reduction method, although the isometric mapping method (ISOMAP) can reflect the intrinsic properties of nonlinear data, it is similar to MDS and is based on a global dimensionality reduction algorithm. This method does not take into account the local relationship of data samples. , and during dimensionality reduction, ISOMAP may produce an error of the "Elbow" phenomenon; although Laplacian eigenmap (LE) and local preservation projection (LPP) can process the local information of the sample, they do not take into account the category information of the sample

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 and system
  • Software defect prediction method and system
  • Software defect prediction method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0074] Such as figure 1 Shown, the present invention comprises the following steps:

[0075] 1. Use the training sample set X to construct an adjacency graph: samples in X are divided into defective samples, non-defective samples, and unlabeled samples, and three adjacency graphs a, b, and c need to be constructed.

[0076] For the adjacency graph a, all the samples in the sample set are used as the nodes of the adjacency graph, if there are two nodes belonging to the same sample and the neighbors are connected, a connection edge is established;

[0077] For the adjacency graph b, all the samples in the sample set are used as the nodes of the adjacency graph. If there are two nodes belonging to heterogeneous samples and the neighbors are adjacent, a connection edge is established;

[0078] For the adjacency graph c, all the samples in the...

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. According to the method, a sample with a class label and a sample without a class label are processed together, semi-supervised learning is utilized in the laplacian eigenmaps (LE), the LE method is improved, and meanwhile, in order to avoid that samples different in classification are mapped to a small low-dimensional neighbourhood, especially that defect samples are mapped to a defect-free sample neighbourhood, cost-sensitive information is introduced when the sample point distance is calculated through an LE algorithm. On the basis, the LE mapping precision is improved, and the discriminating performance of discriminating performance can be effectively improved through the method. The invention further provides a software defect prediction system. When the software defect prediction method and system are applied to an NASA database, it is proved through experiments that the effectiveness of the method is improved, and compared with other comparative methods, the classification performance of the method is improved to a certain extent.

Description

technical field [0001] The invention relates to a software defect prediction method and a prediction system, belonging to the field of software engineering. Background technique [0002] Software defect prediction includes four links: data preprocessing, feature extraction, training prediction model, and identification. Feature extraction is one of the most basic problems in software defect prediction. For software defect prediction, extracting effective features is the primary task of recognition. [0003] Existing feature extraction methods can be divided into traditional dimensionality reduction methods and popular learning dimensionality reduction methods. Among them, the traditional dimensionality reduction methods include Principal Component Analysis (PCA) and Multidimensional Scaling Analysis (MDS). Popular learning dimension reduction methods: including isometric mapping (ISOMAP), Laplacian feature mapping (LE), locality-preserving projection (LPP), etc. [0004]...

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/36G06K9/62G06K9/66G06N3/08
CPCG06F11/3608G06N3/08G06V30/194G06F18/24155G06F18/214
Inventor 史雪静荆晓远岳东
Owner NANJING UNIV OF POSTS & TELECOMM
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