Skip to main content
. 2020 Mar 12;22(3):324. doi: 10.3390/e22030324
Algorithm 1: Method to Determine Condition Attribute Weights
Input: the knowledge base K=(U, R), R=CD;
Output: the weight of the condition attributes, Wi(c)={w(c1),,w(cj),,w(cn)};
1:  compute the equivalence class [X]C={X1,,Xj,Xn}, [X]D={D1,,Di,,Dm}
2:  for i = 1 to m do
3:    compute the relative knowledge attribute discernibility KFDisRDi(C)
4:    for j = 1 to n do
5:       compute the equivalence class [Xj](Ccj)=U/(Ccj)
6:       compute the relative knowledge attribute discernibility KFDisRDi(Ccj)
7:       compute the relative attribute importance of conditional attribute cj, SignDi(cj)
8:    end for
9:    computer the condition attribute weight Wi(c)
10:  end for