Research Article

On Software Defect Prediction Using Machine Learning

Algorithm 1

AKPLSC.
Input: Labeled and unlabeled data sets, and ; number of components, .
Output: Asymmetric Kernel Partial Least Squares Classifier, ;
Method:
(1) ;
(2) , where is the kernel matrix, is the label vector.
(3) for    do
(4)   , where is a projection direction.
(5)  repeat
(6)  
(7)  
(8)  untill convergence
(9)   , where is the score
(10)   , where is the direction of the score
(11)   , where is the deflation of
(12)  
(13) end for
(14)
(15) , where is the vector of dual regression coefficients
(16) Calculate according to (4);
(17) ;
(18) return   ;
End Algorithm AKPLSC.