CalculateWLKernel: Weisfeiler-Lehman subtree kernel

Description Usage Arguments Value Author(s) References Examples

View source: R/graphKernels.R

Description

This function calculates a kernel matrix of the Weisfeiler-Lehman subtree kernel K_WL.

Usage

1

Arguments

G

a list of igraph graphs

par

the number h of iterations

Value

a kernel matrix of the Weisfeiler-Lehman subtree kernel K_WL

Author(s)

Mahito Sugiyama

References

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.

Examples

1
2

Example output

Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

graphkernels documentation built on Dec. 20, 2021, 9:07 a.m.