Skip to Content
Statistical and Machine Learning Approaches for Network Analysis
book

Statistical and Machine Learning Approaches for Network Analysis

by Matthias Dehmer, Subhash C. Basak
August 2012
Intermediate to advanced content levelIntermediate to advanced
344 pages
10h 30m
English
Wiley
Content preview from Statistical and Machine Learning Approaches for Network Analysis

8.4 Path-Based Graph Kernels

Path-based graph kernels are similar to random walk kernels, but use paths instead of walks. A path is a walk that contains each vertex at most once. Path kernels therefore do not suffer from either tottering (by definition) or halting, as the number of paths is finite and paths thus do not have to be downweighted to ensure convergence. Through this, path-based kernels have one free parameter less than random walk graph kernels.

8.4.1 Definition and Computation

Let P(G) denote the set of all paths in G, and let kz be a kernel defined on the corresponding label sequences as in Equation 8.7. The all-paths graph kernel

(8.12) equation

is an R-convolution kernel [1], and therefore positive definite. However, enumerating all paths in a graph is NP-hard, as it would allow to decide whether a graph contains a Hamiltonian path (a path that visits each vertex once), a known NP-complete problem [1]. The same reasoning holds for the restriction to longest paths.

Shortest paths, however, can be computed in polynomial time [68], for example, by the Floyd–Warshall algorithm, which solves the all-pairs-shortest path problem in time O(|V|3). Let G = (V, E) denote an edge-weighted graph. Its shortest-path graph img has an edge between two vertices if and only if there is a path between ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Graph Analysis and Visualization: Discovering Business Opportunity in Linked Data

Graph Analysis and Visualization: Discovering Business Opportunity in Linked Data

Richard Brath, David Jonker

Publisher Resources

ISBN: 9781118346983Purchase book