Research Article
A Hybrid Feature Selection Method Based on Rough Conditional Mutual Information and Naive Bayesian Classifier
Algorithm 1
Wrapper algorithm.
Input: data set , candidate feature set | Output: an optimal feature set | (1) Classperf () | (2) set | (3) for all do | (4) Score = Classperf () | (5) append to | (6) end for | (7) sort in an ascending order according to Score value | (8) while do | (9) for all according to order do | (10) = Classperf () | (11) if then | (12) , | (13) go to Step 8 | (14) end if | (15) Select with the maximum | (16) end for | (17) if then | (18) , | (19) go to Step 8 | (20) end if | (21) if then | (22) , | (23) go to Step 8 | (24) end if | (25) go to Step 27 | (26) end while | (27) Return an optimal feature subset |
|