Research Article

Discovering Associations of Adverse Events with Pharmacotherapy in Patients with Non-Small Cell Lung Cancer Using Modified Apriori Algorithm

Algorithm 3

The pseudocode of join.
Procedure apriori_gen()
(1) for each itemset
(2) for each itemset
(3) if then
(4) ;
(5) if has_infrequent_subset(, ) then
(6) delete ;
(7) else add to ;
(8)
(9) return ;