Software defect prediction method and device based on K-B, electronic equipment and medium
A software defect prediction, K-B technology, applied in software testing/debugging, computer parts, error detection/correction, etc., can solve problems such as long time and high machine performance requirements
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0110] figure 1 A flowchart showing the steps of the K-B-based software defect prediction method according to an embodiment of the present invention.
[0111] Such as figure 1As shown, the software defect prediction method based on K-B includes: step 101, collecting software historical defect data, and dividing the software historical defect data into a training data set and a test data set; step 102, reducing the metric element in the training data set Dimension, obtain feature vector; Step 103, carry out Bayesian classification regression calculation training according to the training data set and feature vector after dimensionality reduction; Step 104, adjust dimensionality reduction parameter and Bayesian parameter, obtain optimal model; Step 105 , according to the optimal model, dimensionality reduction is performed on the metric elements in the test data set, and Bayesian classification and regression calculations are performed to predict the defects of the test data se...
Embodiment 2
[0121] image 3 A block diagram of a K-B-based software defect prediction device according to an embodiment of the present invention is shown.
[0122] Such as image 3 As shown, the K-B-based software defect prediction device includes:
[0123] The data set division module 201 collects software historical defect data, and divides the software historical defect data into a training data set and a test data set;
[0124] The dimensionality reduction module 202 performs dimensionality reduction on the metric elements in the training data set to obtain feature vectors;
[0125] The training module 203 performs Bayesian classification and regression calculation training according to the training data set and feature vector after dimensionality reduction;
[0126] Optimal model building module 204, adjusting dimensionality reduction parameters and Bayesian parameters to obtain an optimal model;
[0127] The prediction module 205 performs dimensionality reduction on the metric e...
Embodiment 3
[0141] The present disclosure provides an electronic device comprising: a memory storing executable instructions; a processor running the executable instructions in the memory to implement the above K-B-based software defect prediction method.
[0142] An electronic device according to an embodiment of the present disclosure includes a memory and a processor.
[0143] The memory is used to store non-transitory computer readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache). The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, and the like.
[0144] The processor may be a central processing unit (CPU) or other form of processing unit having data processing capabili...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com