Technical requirements
We will be using Jupyter notebooks with Python 3.9 for all of our exercises. The following is a list of the Python libraries that need to be installed for this chapter using pip
. For example, run pip install networkx==2.5
on the command line, and so on:
Jupyter==1.0.0 networkx==2.5 matplotlib==3.2.2 karateclub==1.0.19 node2vec==0.3.3 tensorflow==2.4.0 scikit-learn==0.24.0 git+https://github.com/palash1992/GEM.git git+https://github.com/stellargraph/stellargraph.git
In the rest of this book, if not clearly stated, we will refer to the Python commands import networkx
as nx
.
All the code files relevant to this chapter are available at https://github.com/PacktPublishing/Graph-Machine-Learning/tree/main/Chapter03.