Research Article

[Retracted] Diagnosis and Treatment Rules of Chronic Kidney Disease and Nursing Intervention Models of Related Mental Diseases Using Electronic Medical Records and Data Mining

Table 1

Pseudocode representation of Apriori algorithm process.

Input:
I//item-sets
D//affair dataset
S//support
Output:
L//item-sets
Process of the Apriori algorithm:
K = 0://K means the times of scanning
L = Φ:
Ci = I://the initial candidate set is set to a single item
Repeat
K = K + 1:
Lk = Φ:
For each IiCk do
Ci = 0://the initial data of each item set is set to 0
For each tjD do
For each IiCk do
If Iitj then
Ci = Ci + 1:
For each Ii Ck do
If Ci ≥ (S × D) then
Lk = LkIi:
L = LLK:
CK + 1 = Apriori-Gen (LK)
Until Ck + 1 = Φ