| CalculateWLKernel | R Documentation |
This function calculates a kernel matrix of the Weisfeiler-Lehman subtree kernel K_WL.
CalculateWLKernel(G, par)
G |
a list of |
par |
the number h of iterations |
a kernel matrix of the Weisfeiler-Lehman subtree kernel K_WL
Mahito Sugiyama
Shervashidze, N., Schweitzer, P., van Leeuwen, E. J., Mehlhorn, K., Borgwardt, K. M.: Weisfeiler-Lehman Graph Kernels, Journal of Machine Learning Research, 12, 2359-2561 (2011) https://www.jmlr.org/papers/volume12/shervashidze11a/shervashidze11a.pdf.
data(mutag) K <- CalculateWLKernel(mutag, 5)