| Algorithm 1 Greedy Partitioning | |
| 1: | input: dataset with features V |
| 2: | output: the optimal partitioning |
| 3: | |
| 4: | loop |
| 5: | for all do |
| 6: | |
| 7: | |
| 8: | end for |
| 9: | |
| 10: | if Δj > 0 then |
| 11: | |
| 12: | k ← k + 1 |
| 13: | else |
| 14: | ; stop |
| 15: | end if |
| 16: | end loop |
| Algorithm 1 Greedy Partitioning | |
| 1: | input: dataset with features V |
| 2: | output: the optimal partitioning |
| 3: | |
| 4: | loop |
| 5: | for all do |
| 6: | |
| 7: | |
| 8: | end for |
| 9: | |
| 10: | if Δj > 0 then |
| 11: | |
| 12: | k ← k + 1 |
| 13: | else |
| 14: | ; stop |
| 15: | end if |
| 16: | end loop |