:orphan: .. _general_examples: Examples ======== Examples that use graph kernels to perform various tasks (e.g., graph classification, retrieval of most similar document, etc). .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_pipeline_example_thumb.png :alt: :doc:`/auto_examples/plot_pipeline_example` .. raw:: html
Example of building a graph classification pipeline.
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_shortest_path_thumb.png :alt: :doc:`/auto_examples/shortest_path` .. raw:: html
Graph classification on MUTAG using the shortest path kernel.
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_node_attributed_dataset_thumb.png :alt: :doc:`/auto_examples/node_attributed_dataset` .. raw:: html
Graph classification on a dataset that contains node-attributed graphs.
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_weisfeiler_lehman_subtree_thumb.png :alt: :doc:`/auto_examples/weisfeiler_lehman_subtree` .. raw:: html
Graph classification on MUTAG using the Weisfeiler-Lehman subtree kernel.
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_optimizing_hyperparameters_thumb.png :alt: :doc:`/auto_examples/optimizing_hyperparameters` .. raw:: html
Performing cross-validation n times, optimizing SVM's and kernel's hyperparameters.
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_document_retrieval_example_thumb.png :alt: :doc:`/auto_examples/document_retrieval_example` .. raw:: html
Retrieval of most similar document using the Weisfeiler-Lehman subtree kernel.
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_erdos_renyi_thumb.png :alt: :doc:`/auto_examples/erdos_renyi` .. raw:: html
Graph classification on a randomly generated dataset of Erdos-Renyi graphs.
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_nx_to_grakel_thumb.png :alt: :doc:`/auto_examples/nx_to_grakel` .. raw:: html
Example of transforming NetworkX graphs to GraKeL graphs.
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/plot_pipeline_example /auto_examples/shortest_path /auto_examples/node_attributed_dataset /auto_examples/weisfeiler_lehman_subtree /auto_examples/optimizing_hyperparameters /auto_examples/document_retrieval_example /auto_examples/erdos_renyi /auto_examples/nx_to_grakel .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_