Research Article

Mining Symptom-Herb Patterns from Patient Records Using Tripartite Graph

Algorithm 2

MF.
Input: Dataset (D) and Top- List (L)
Output: A set of herbs (S)
(1) Define MF(D, L)
(2) Begin
(3) Discover the existed patterns of good outcome in D
(4) S Match L with each one of , and delete patterns of bad
(5)   outcome in L.
(6) Return S
(7) End