CalculateGraphletKernel {graphkernels}R Documentation

Graphlet kernel

Description

This function calculates a kernel matrix of the graphlet kernel K_{GL} between unlabeled graphs.

Usage

CalculateGraphletKernel(G, par)

Arguments

G

a list of igraph graphs

par

the number k of graphlet nodes (k = 3 or 4 is supported)

Value

a kernel matrix of the graphlet kernel K_{GL}

Author(s)

Mahito Sugiyama

References

Shervashidze, N., Vishwanathan, S. V. N., Petri, T., Mehlhorn, K., Borgwardt, K. M.: Efficient Graphlet Kernels for Large Graph Comparison, Proceedings of the 12th International Conference on Artificial Intelligence and Statistics (AISTATS), 5, 488-495 (2009) https://proceedings.mlr.press/v5/shervashidze09a.html.

Examples

data(mutag)
K <- CalculateGraphletKernel(mutag, 4)

[Package graphkernels version 1.6.1 Index]