Technical requirements
We will be using Jupyter notebooks with Python 3.8 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:
Jupyter==1.0.0 networkx==2.5 scikit-learn==0.24.0Â numpy==1.19.2Â node2vec==0.3.3Â tensorflow==2.4.1Â stellargraph==1.2.1 communities==2.2.0Â git+https://github.com/palash1992/GEM.git
In the rest of this chapter, if not clearly stated, we will refer to nx
, pd
, and np
as results of the following Python commands: import networkx
as nx
, import pandas
as pd
, and import numpy
as np
.
All code files relevant to this chapter are available at https://github.com/PacktPublishing/Graph-Machine-Learning/tree/main/Chapter06.