Algorithm 1.
Input: Normalized data , and parameter λG. | |
Output : | |
1: | Initialize c(0), |
2: | for each region i (i = 1, ..., p) do |
3: | Set k = 0 |
4: | While no convergence do |
5: | k = k + 1 |
6: | , |
7: | , |
8: | |
9: | |
10: | end |
11: | |
12: | end for |
13: | |
14: |
Input: Normalized data , and parameter λG. | |
Output : | |
1: | Initialize c(0), |
2: | for each region i (i = 1, ..., p) do |
3: | Set k = 0 |
4: | While no convergence do |
5: | k = k + 1 |
6: | , |
7: | , |
8: | |
9: | |
10: | end |
11: | |
12: | end for |
13: | |
14: |