Tutorials

Our tutorials are all written in Jupyter notebooks in the Workbench itself. Here we provide a brief overview of the tutorial materials as well as a video walk-through of one of the model training tutorials.

Tutorial dataset

All tutorials use the example data set "Cora".

  • The dataset contains 2708 machine learning papers and 10556 citation links between the papers.

  • Each publication in the dataset is described by a 0/1-valued word vector indicating the absence/presence of the corresponding word from a dictionary.

  • The dictionary consists of 1433 unique words.

Follow the instructions in the notebook titled Data Ingestion to load the example dataset.

Access tutorials

To access the built-in tutorials, from the Jupyter Lab server page, click File  New Launcher  TigerGraph ML Tutorial.

The dropdown menu gives you a list of tutorials, including tutorials that walk you through how to load and process data in the Workbench, as well as tutorials that walk you through training actual models with Graph Neural Network (GNN) using a sample dataset :

Data loading and processing
  • Data ingestion. This notebook walks you through how to load the example Cora dataset into your TigerGraph database.

  • Data processing. This notebook demonstrates how to use tgml for common data processing tasks on graphs stored in TigerGraph.

  • Data loaders. This notebook demonstrates the use of different data loaders in tgml. The job of a data loader is to pull data from the TigerGraph database.

GNN Model Training tutorials

Train your first model

You can use any of the training notebooks to guide yourself through the training. Here we provide a video walk-through of the GraphSAGE tutorial:

GraphSAGE Tutorial Walk-through