Examples¶
Examples that use graph kernels to perform various tasks (e.g., graph classification, retrieval of most similar document, etc).
Example of building a graph classification pipeline.
Example of building a graph classification pipeline.
Graph classification on MUTAG using the shortest path kernel.
Graph classification on MUTAG using the shortest path kernel.
Graph classification on a dataset that contains node-attributed graphs.
Graph classification on a dataset that contains node-attributed graphs.
Graph classification on MUTAG using the Weisfeiler-Lehman subtree kernel.
Graph classification on MUTAG using the Weisfeiler-Lehman subtree kernel.
Performing cross-validation n times, optimizing SVM’s and kernel’s hyperparameters.
Performing cross-validation n times, optimizing SVM's and kernel's hyperparameters.
Retrieval of most similar document using the Weisfeiler-Lehman subtree kernel.
Retrieval of most similar document using the Weisfeiler-Lehman subtree kernel.
Graph classification on a randomly generated dataset of Erdos-Renyi graphs.
Graph classification on a randomly generated dataset of Erdos-Renyi graphs.
Example of transforming NetworkX graphs to GraKeL graphs.
Example of transforming NetworkX graphs to GraKeL graphs.