]>Rough Sets Data Analysis in Knowledge Discovery: A Case of Kuwaiti Diabetic Children Patients : Algorithm 3
Input: reduct sets Rfinal={r1r2rn}
Output: Set of rules
1: for each reduct rdo
2:  for each correspondence object xdo
3:   Contract the decision rule (c1=v1c2=v2cn=vn)d=u
4:   Scan the reduct r over an object x
5:   Construct (ci,1in)
6:   for every cCdo
7:    Assign the value v to the correspondence attribute a
8:   end for
9:   Construct a decision attribute d
10:   Assign the value u to the correspondence decision attribute d
11:  end for
12: end for
Algorithm 3: Rule generation and classification.