Technical requirements
We will be using Jupyter notebooks with Python 3.8 for all of our exercises. The following is a list of Python libraries that will be installed for this chapter using pip
. For example, run pip install networkx==2.5
on the command line:
Jupyter==1.0.0 networkx==2.5 scikit-learn==0.24.0 pandas==1.1.3 node2vec==0.3.3 numpy==1.19.2 communities==2.2.0
In the rest of this book, unless clearly stated to the contrary, we will refer to nx
as the results of the Python import networkx as nx
command.
All code files relevant to this chapter are available at https://github.com/PacktPublishing/Graph-Machine-Learning/tree/main/Chapter08.