Cross-project software defect prediction method based on supervised expression learning

A software defect prediction and supervisory technology, which is applied in neural learning methods, hardware monitoring, computer components, etc., can solve problems such as inappropriate training of classifiers in the later stage, and the influence of the actual prediction ability of software defect prediction models, so as to improve defect prediction performance effect

Active Publication Date: 2020-02-04
BEIHANG UNIV
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the divide and conquer method itself has a problem: when solving subproblems step by step, although the optimal solution can be obtained on the subproblem, the optimal solution on the subproblem does not mean that the optimal solution to the global problem can be obtained
The features learned in the early stage may not be suitable for the later training classifier, which may affect the actual prediction ability of the final software defect prediction model

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
  • Cross-project software defect prediction method based on supervised expression learning
  • Cross-project software defect prediction method based on supervised expression learning
  • Cross-project software defect prediction method based on supervised expression learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Below in conjunction with accompanying drawing, the present invention is described further. first combined with figure 1 , the transfer autoencoder used in the present invention will be described in detail.

[0022] The transfer autoencoder is a new type of autoencoder with a double-encoding layer structure. The double encoding layer refers to a feature encoding layer and a label encoding layer; wherein, the first layer of encoding layer is a feature encoding layer, which is responsible for encoding the feature vectors of all samples in the source item and the target item into a hidden layer feature representation, and the label The encoding layer realizes the classification of samples based on the feature representation of the hidden layer. During the training process, the supervised learning process on the source item samples is realized by minimizing the label loss term of the source item samples. At the same time, the model weights between the source item and 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 cross-project software defect prediction method for supervised expression learning. The method comprises the following steps: (1) selecting a defect data set, and preprocessing defect data; (2) training a migration auto-encoder in an unsupervised pre-training mode, wherein the migration auto-encoder comprises a feature coding layer and a label coding layer; (3) with the help of a migration cross validation method, selecting a sample closest to the hidden layer feature distribution of the target project sample from all sample hidden layer feature representations of thesource project as a validation set, and taking the rest as a training set; (4) performing oversampling processing on the training set sample; (5) finely adjusting the migration auto-encoder, and selecting a model hyper-parameter and an early stop strategy; and (6) inputting the preprocessed data of the target project into a migration auto-encoder, and obtaining a final prediction result through the output of a label encoding layer. According to the method, the label information of the source project sample is introduced into the feature representation learning process, so that the predictionperformance of the cross-project software defect prediction model is improved.

Description

technical field [0001] The invention belongs to the technical field of software defect prediction for software engineering applications, and in particular relates to a cross-project software defect prediction method based on supervised representation learning. Background technique [0002] Software defect prediction technology learns from historical defect data and builds a prediction model to predict possible defects in current software projects. It can help testers quickly find defects and greatly improve the efficiency of software testing, so it has become a research hotspot in the field of software engineering. [0003] The usual practice of software defect prediction is to first extract various features from software code, such as Halstead metric, McCabe metric, CK metric, MOOD metric, code change metric and other object-oriented metric, express all code segments as feature vectors, and Mark according to whether there are actual defects, and then input these feature ve...

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): G06K9/62G06N3/08G06F11/34
CPCG06N3/084G06N3/088G06F11/3447G06F18/214
Inventor 郑征万晓晖
Owner BEIHANG UNIV
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