Weisfeiler-Lehman Kernel

The Weisfeiler-Lehman kernel is an iterative integration of neighborhood information.

We initialize the labels for each node using its own node degree. At each step, we take the neighboring node degrees to form a [[multiset]] Multiset, mset or bag A bag is a set in which duplicate elements are allowed. An ordered bag is a list that we use in programming. . At step $K$, we have the multisets for each node. Those multisets at each node can be processed to form an representation of the graph which is in turn used to calculate statistics of the graph.

Iterate $k$ steps

Iterate $k$ steps

This iteration can be used to test if two graphs are isomorphism1.

Planted: by ;

L Ma (2021). 'Weisfeiler-Lehman Kernel', Datumorphism, 09 April. Available at: https://datumorphism.leima.is/cards/graph/graph-weisfeiler-lehman-kernel/.