1 预备知识
表1 模糊决策信息系统Tab.1 Fuzzy decision information system |
| U | a1 | a2 | a3 | a4 | 模糊决策属性 | |
|---|---|---|---|---|---|---|
| 流感 | 无流感 | |||||
| x1 | 2 | 1 | 0 | 1 | 0.8 | 0.3 |
| x2 | 1 | 0 | 0 | 1 | 0.3 | 0.5 |
| x3 | 2 | 1 | 0 | 1 | 1 | 0.1 |
| x4 | 2 | 1 | 0 | 1 | 0.7 | 0.2 |
| x5 | 1 | 0 | 0 | 1 | 0.1 | 0.8 |
| x6 | 0 | 1 | 1 | 0 | 0.3 | 0.7 |
| x7 | 1 | 0 | 0 | 1 | 0.2 | 0.1 |
| x8 | 0 | 1 | 1 | 0 | 0 | 0.9 |
| x9 | 1 | 0 | 1 | 0 | 0.4 | 0.6 |
| x10 | 1 | 0 | 1 | 0 | 0.2 | 0.7 |
2 多粒度粗糙模糊集近似集的矩阵表示
3 增加属性时基于矩阵的上下近似更新
4 减少属性时基于矩阵的上下近似更新
5 时间复杂度的计算
| 算法1 计算上下近似的静态算法 输入:模糊信息系统S=(U,A∪D,V,f);属性值a1,a2,…,am;隶属度 (x)。 输出: , , , 。 1:for k=1 to m do 2: for i=1 to n do 3: for j=1 to n do 4: if ak(xi)=ak(xj) then 5: =1; 6: = ; 7: =0; 8: end 9: end 10: end 11:end 12:for k=1 to m do 13: 计算 ⊗max ; 14: 计算L- ⊗max ; 15:end 16:计算 , , , 。 17:end |
| 算法2 增加属性时更新上下近似的动态算法 输入:模糊信息系统S=(U,A∪D,V,f);属性值a1,a2,…,am;隶属度 (x);增加的属性am+1;更新之前的上下近似 , , , 。 输出: , , , 。 1:计算 and and ; 2:for i=1 to n do 3: if ≥ then 4: = 5: else 6: = 7: end 8:end 9:for i=1 to n do 10: if ≤ then 11: = 12: else 13: = 14: end 15:end 16:for i=1 to n do 17: if ≤ then 18: = 19: else 20: = 21: end 22:end 23:for i=1 to n do 24: if ≥ then 25: = 26: else 27: = 28: end 29:end |
| 算法3 减少属性时更新上下近似的动态算法 输入:模糊信息系统S=(U,A∪D,V,f);属性值a1,a2,…,am;隶属度 (x);减少的属性am;更新之前的上下近似 , , , 。 输出: , , , 。 1:计算 and and ; 2:for i=1 to n do 3: if < then 4: = 5: else 6: =max 7: end 8:end 9:for i=1 to n do 10: if > then 11: = 12: else 13: =min 14: end 15:end 16:for i=1 to n do 17: if > then 18: = 19: else 20: =min 21: end 22:end 23:for i=1 to n do 24: if < then 25: = 26: else 27: =max 28: end 29:end |
6 实验时间的对比
表2 实验使用的UCI数据集Tab.2 UCI data set for experimental use |
| 数据集 | 个数 | 属性数 | 类别数 |
|---|---|---|---|
| Balance Scale | 625 | 4 | 3 |
| Breast Cancer Wisconsin | 683 | 9 | 2 |
| Contraceptive Method Choice | 1 473 | 9 | 2 |
| Phishing Websites | 2 456 | 30 | 3 |
6.1 增加属性时实验时间的对比
表3 增加属性时使用的UCI数据集Tab.3 The UCI data set used when adding attributes |
| 数据集 | 初始的属性 | 增加的属性 |
|---|---|---|
| Balance Scale | {a1,a2,a3} | {a4} |
| Breast Cancer Wisconsin | {a1,a2,…,a7} | {a8,a9} |
| Contraceptive Method Choice | {a1,a2,…,a7} | {a8,a9} |
| Phishing Websites | {a1,a2,…,a27} | {a28,a29,a30} |
6.2 减少属性时实验时间的对比
表4 减少属性时使用的UCI数据集Tab.4 The UCI data set used when reducing attributes |
| 数据集 | 初始的属性 | 减少的属性 |
|---|---|---|
| Balance Scale | {a1,a2,…,a4} | {a4} |
| Breast Cancer Wisconsin | {a1,a2,…,a9} | {a8,a9} |
| Contraceptive Method Choice | {a1,a2,…,a9} | {a8,a9} |
| Phishing Websites | {a1,a2,…,a30} | {a28,a29,a30} |
{0,1,2},
{0,1},∀a1,a2,…,a4∈A,