GraphKernel (class)

Documentation for the graph-kernel generic wrapper.

The GraphKernel Decorator

A specification follows for GraphKernel where each of the supported kernel is presented with whether it utilizes information from node-labels, edge-labels, node-attributes, edge-attributes inside the kernel calculation.

Kernels

Labels

Attributes

node

edge

node

edge

random_walk, [with_labels=False]

Ignores

Ignores

Ignores

Ignores

random_walk, with_labels=True

Needs

Ignores

Ignores

Ignores

shortest_path, [with_labels=False]

Ignores

Ignores

Ignores

Ignores

shortest_path, with_labels=True

Needs

Ignores

Nonce-Behavior

Ignores

shortest_path, as_attributes=True

Slow

Ignores

Needs

Ignores

graphlet_sampling

Ignores

Ignores

Ignores

Ignores

multiscale_laplacian

Forbids

Ignores

Needs

Ignores

subgraph_matching, [type(kv)=type(ke)='labels']

type(kv)

type(ke)

type(kv)

type(ke)

lovasz_theta

Ignores

Ignores

Ignores

Ignores

svm_theta

Ignores

Ignores

Ignores

Ignores

neighborhood_hash

Needs

Ignores

Nonce-Behavior

Ignores

neighborhood_subgraph_pairwise_distance, NSPD

Needs

Needs

Nonce-Behavior

Nonce-Behavior

odd_sth

Needs

Ignores

Nonce-Behavior

Ignores

propagation, [with_attributes=False]

Needs

Ignores

Nonce-Behavior

Ignores

propagation, with_attributes=True

Nonce-Behavior

Ignores

Needs

Ignores

pyramid_match

Needs

Ignores

Nonce-Behavior

Ignores

vertex_histogram, subtree_wl

Needs

Ignores

Nonce-Behavior

Ignores

edge_histogram

Ignores

Needs

Ignores

Nonce-Behavior

graph_hopper

Nonce-Behavior

Ignores

Needs

Ignores

weisfeiler_lehman

Needs

base_kernel

base_kernel

base_kernel

hadamard_code

Needs

base_kernel

base_kernel

base_kernel

core_framework

base_kernel

base_kernel

base_kernel

base_kernel

where [, ] denounce the default value and the kernel-names and arguments are as given in the __init__ of the GraphKernel object and base_kernel signifies means that given input with this type of meta-information the behavior of the kernel should only depend on the behavior of the base kernel to this type of meta-information.

GraphKernel([kernel, normalize, verbose, …])

A generic wrapper for graph kernels.