Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for predicting aging defects of software in project based on Active Learning

A technology of software aging and prediction methods, which is applied in software testing/debugging, nuclear methods, computer components, etc., and can solve problems such as large differences in prediction effects, insufficient robustness of machine learning classifiers, and differences in prediction performance

Active Publication Date: 2021-03-19
WUHAN UNIV OF TECH
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the amount of data in this method is sufficient, the differences between different projects are still relatively serious. Therefore, there are still certain differences between the prediction performance across projects and the prediction performance within projects.
Moreover, in previous studies, when dealing with extremely serious class imbalances, a single method of oversampling or undersampling was used, which can easily lead to overfitting and is not robust enough for different machine learning classifiers, that is, the prediction effect is quite different.

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
  • Method for predicting aging defects of software in project based on Active Learning
  • Method for predicting aging defects of software in project based on Active Learning
  • Method for predicting aging defects of software in project based on Active Learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0019] The present invention provides a software aging defect prediction method in a project based on Active Learning. The flow chart of the aging defect prediction process in the embodiment of the present invention is as follows figure 1 As shown in Fig. 1, Active Learning is first used to select samples without class labels, and then the selected samples and a small part of samples with class labels originally in the project are combined to form a training set. Then according to the characteristics of the aging dataset, the combination of oversampling SMOTE and undersampling ENN method is adopted to solve the serious class imbalance problem. Finally, the machine learning classifier is used to classify the target item and output ...

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 an in-project software aging prediction method based on Active Learning, and the method comprises the steps: collecting the static measurement of a code in software, selectinga sample through Active Learning, carrying out the labeling of the sample, taking the sample as a training set, and predicting the remaining samples without class labels; and adopting active Learningfor sample selection and manual labeling, and forming a training set. An oversampling and undersampling combined method is adopted to relieve the class imbalance problem, and a machine learning classifier is used for prediction. According to the method, few software aging defect data set samples are considered, time and labor are consumed for collection, the problem of polar imbalance is relievedby adopting an undersampling and oversampling combined method, developers are helped to discover and remove software aging related defects in the development and test stage, and losses caused by the software aging problem are avoided. The feasibility of the method is verified on real software, and the method can be popularized to other software to predict software aging related defects.

Description

technical field [0001] The invention belongs to the technical field of software aging prediction, and in particular relates to a software aging defect prediction method in a project based on Active Learning. Background technique [0002] In long-running operating systems, software aging is the main cause of system performance degradation or software crashes. It is caused by Aging-Related Bugs (ARB), such as memory leaks, unreleased file locks, storage problems, etc. And it has been found to exist in various systems, such as Android, Linux, Windows, etc. The complexity and time characteristics of software aging make its detection very difficult. Therefore, predicting and removing software aging-related defects in the development and testing phase (code level) is one of the important ways to reduce the losses caused by software aging. [0003] In recent years, aging defect prediction has gradually attracted the attention of scholars in the field of reliability. Some schola...

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/36G06K9/62G06N20/10
CPCG06F11/3672G06N20/10G06F18/24G06F18/214
Inventor 向剑文梁梦婷李滴萌赵冬冬胡文华李琳
Owner WUHAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products