Algorithm 1.
Bi-organization Algorithm [10, Sec. 5.3]
| Initialization |
| Input Dataset Z of features 𝒳 and observations 𝒴 |
| 1: Starting with features 𝒳 |
| 2: Calculate initial metric |
| 3: Calculate initial flexible tree . |
| Iterative analysis |
| Input Flexible tree on features , weight function on tree folders W[i, i] = ω(ℐi) |
| 4: for n ≥ 1 do |
| 5: Given tree , calculate multiscale tree metric between observations |
| 6: Calculate flexible tree on the observations . |
| 7: Repeat steps 5–6 for the features 𝒳 given and obtain . |
| 8: end for |