Algorithm 2.
1: Input: Data matrix (D) |
No. of co-clusters (KA and KB) |
Minimum No. of rows in any co-cluster (α) |
2: Output:: Two sets of discriminative co-clusters ({XA}, {XB}) |
3: Procedure: |
4: Step 1: Compute δC for all the rows |
5: |
6: |
7: Initialize each of the K co-clusters for each class |
8: Compute SA and SB as defined in
Equation (3) / * Initialize rows and columns of each co-cluster * / |
9: for k = 1 : K do |
10: , |
11: , |
12: end for |
13: Step 2: Update the row and the column clusterings |
14: repeat |
15: for k = 1 : K do |
16: for i = 1 : M do |
17: |
18: |
19: end for |
20: for j = 1 : NA do |
21: |
22: end for |
23: for j = 1 : NB do |
24: |
25: end for |
26: end for |
27: until convergence |
28: Step 3: Merging similar co-clusters. |
29: Step 4: Pruning. |