|
Algorithm 2:MCIR-RGAD algorithm |
|
Input: Information system , an attribute reduction set , threshold .
Output: A decision tree T
-
1:
compute
-
2:
compute , .
-
3:
if is incomplete then
-
4:
, (Equation ( 14))
-
5:
else
-
6:
, (Equation ( 14))
-
7:
end if
-
8:
fordo
-
9:
-
10:
-
11:
if then
-
12:
-
13:
else
-
14:
-
15:
for do
-
16:
-
17:
if then
-
18:
-
19:
-
20:
else
-
21:
return Step 8
-
22:
end if
-
23:
end for
-
24:
end if
-
25:
end for
-
26:
return T
|