Research Article

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

Algorithm 2

The pseudocode of finding frequent 1-itemsets.
Procedure find_frequent_1-itemsets()
(1) for (; ; ++)
(2) set Item-counts[] = 0;
(3)
(4) for (each )
(5) for (each )
(6) item-counts[]++;
(7)
(8)
return ;