Research Article
Discrimination Analysis for Predicting Defect-Prone Software Modules
Algorithm 1
Kernel discrimination classifier (KDC).
Require: | Normalized training data, ; | Labels vector of the training data, ; | Normalized test data, ; | Kernel type, kernel; | Ensure: | KDC classifier, ; | (1) ; | ; | (2) ; | (3) ; | (4) ; | (5) ; | (6) ; | (7) ; | (8) ; | (9) ; | (10) ; | (11) ; | (12) ; | (13) , ; | (14) Collecting the neighbourhoods of using (12); | (15) Calculate the mean distances using (13); | (16) Classify as ; | (17) return ; |
|