|
Algorithm 1 F-Classify algorithm: Fuzzification. |
-
Require:
Table T with m data attributes and n tuples
-
Ensure:
Release Table QT and
Initialisation Split the table T into multiple sub-sets (One sub-set for QI and remaining sub-sets for SAs) from the data sets. multiple sub-sets = d1, d2, d3…dk data attributes (linguistic variables) = Membership functions = γ = number of attributes in one subset η = number of member-ship functions for lv α: Number of fuzzy rules () Rules R [] = Classes [] =
-
1:
for
to m do
-
2:
define mfs for lvs
-
3:
end for
-
4:
for
to k do
-
5:
for
to do
-
6:
-
7:
-
8:
end for
-
9:
end for
-
10:
for to n do
-
11:
for
to do
-
12:
if () then
-
13:
Generate a new table according to Classes for QIs (QT) and SA
-
14:
end if
-
15:
end for
-
16:
end for
-
17:
return Tables QT and
|