Algorithm A.2.
Input: | Dataset | |||
Bandwidth function | ||||
Output: | Kernel matrix | W | ||
Degree matrix | D | |||
Normalized Laplacian | ||||
1: | for i = 1, N do | |||
2: | D(i, j) ← 0 | |||
3: | for j = 1, N do | |||
4: | ▷ Symmetric kernel | |||
5: | D(i, i) ← D(i, i) + W(i, j) | ▷ Degrees | ||
6: | end for | |||
7: | end for | |||
8: | ▷ Normalized graph Laplacian | |||
9: | return |