Research Article

Classification Based on Pruning and Double Covered Rule Sets for the Internet of Things Applications

Algorithm 3

Inducing rule set .
Input: Training data ,
Output: Rule set
Method:
(1)  Rule set , , cover value , IniteQueue ;
(2)  while
(3)    where is first element of ;
(4)    ;
(5)  end while
(6)  while
(7)   pattern ; ;
(8)   if continue;
(9)   compute the information gain of ;
(10)  if
(11)   ;
(12)  else
(13)   ;
(14)  found in dataset;
(15)  connect with ;
(16)   ;
(17)   , ;
(18)  end if
(19)  end while
(20)  return