Research Article
An Improved Method for Cross-Project Defect Prediction by Simplifying Training Data
Algorithm 1
Algorithm of parameter optimization.
Optimizing the parameter | Input: | (1) Candidate TDS , test set , | (2) , and | Output: | (3) | Method: | (4) Initialize ; | (5) While do | (6)For | (7) For | (8) Score; | (9) End For | (10) descSort sort training instances in descending order | (11) select the top instances | (12) End For | (13) prediction result | (14) ; | (15) End While | (16) Return ; |
|