Input:
Output:  A feature subset with minimal total cost
Method:
;
  //Addition
;
while do
for  each do
  Compute ;
end for
 Select with the maximal ;
; ;
   end while
   //Deletion
while do
for each do
  Compute ;
end for
 Select with the minimal ;
;
end while
return ;
Algorithm 2: An addition-deletion cost-sensitive feature selection algorithm.