Skip to main content
. 2021 Jul 1;15:669534. doi: 10.3389/fnbot.2021.669534

Algorithm 2.

(Associative) SOINN+ Calculation of similarity thresholds

1: for i in [b, s] do
2:   if Ni ≠ ∅ then
3:     τ(i)maxjNiwi-wj    // (Equation 1)
4:   else
5:     τ(i)minjA\{i}wi-wj    // (Equation 1)
6:   end if
7: end for