GraKeL Logo
0.1a7
  • Documentation
  • Benchmarks
  • GraKeL
  • API Reference
  • Examples
    • Example of building a graph classification pipeline.
    • Graph classification on MUTAG using the shortest path kernel.
    • Graph classification on a dataset that contains node-attributed graphs.
    • Performing cross-validation n times, optimizing SVM’s and kernel’s hyperparameters.
    • Graph classification on MUTAG using the Weisfeiler-Lehman subtree kernel.
    • Graph classification on a randomly generated dataset of Erdos-Renyi graphs.
    • Retrieval of most similar document using the Weisfeiler-Lehman subtree kernel.
    • Example of transforming NetworkX graphs to GraKeL graphs.
  • Tutorials
GraKeL
  • Docs »
  • Examples
  • View page source

Examples¶

Examples that use graph kernels to perform various tasks (e.g., graph classification, retrieval of most similar document, etc).

../_images/sphx_glr_plot_pipeline_example_thumb.png

Example of building a graph classification pipeline.¶

../_images/sphx_glr_shortest_path_thumb.png

Graph classification on MUTAG using the shortest path kernel.¶

../_images/sphx_glr_node_attributed_dataset_thumb.png

Graph classification on a dataset that contains node-attributed graphs.¶

../_images/sphx_glr_optimizing_hyperparameters_thumb.png

Performing cross-validation n times, optimizing SVM’s and kernel’s hyperparameters.¶

../_images/sphx_glr_weisfeiler_lehman_subtree_thumb.png

Graph classification on MUTAG using the Weisfeiler-Lehman subtree kernel.¶

../_images/sphx_glr_erdos_renyi_thumb.png

Graph classification on a randomly generated dataset of Erdos-Renyi graphs.¶

../_images/sphx_glr_document_retrieval_example_thumb.png

Retrieval of most similar document using the Weisfeiler-Lehman subtree kernel.¶

../_images/sphx_glr_nx_to_grakel_thumb.png

Example of transforming NetworkX graphs to GraKeL graphs.¶

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Next Previous

© Copyright 2019, DaSciM (BSD License)

Built with Sphinx using a theme provided by Read the Docs.