Learn R Programming

graphkernels (version 1.6.1)

CalculateEdgeHistKernel: Linear kernel between edge label histograms

Description

This function calculates a kernel matrix of the linear kernel \(K_{EH}\) between edge label histograms.

Usage

CalculateEdgeHistKernel(G)

Arguments

G

a list of igraph graphs

Value

a kernel matrix of the linear kernel \(K_{EH}\) between edge label histograms

References

Sugiyama, M., Borgwardt, K. M.: Halting in Random Walk Kernels, Advances in Neural Information Processing Systems (NIPS 2015), 28, 1630-1638 (2015) https://papers.nips.cc/paper/5688-halting-in-random-walk-kernels.pdf.

Examples

Run this code
# NOT RUN {
data(mutag)
K <- CalculateEdgeHistKernel(mutag)
# }

Run the code above in your browser using DataLab