Technical requirements
In this chapter, we will be using several different Python libraries. The pip install
command is listed in each section for installing each library, so just follow along and do the installations as needed. If you run into installation problems, there is usually an answer on Stack Overflow. Google the error!
Before we start, I would like to explain one thing so that the number of libraries we are using doesn’t seem so overwhelming. It is the reason why we use each library that matters.
For most of this book, we will be doing one of three things: network analysis, network visualization, or using network data for machine learning (also known as GraphML).
Anytime we have network data, we will be using NetworkX
to use it.
Anytime we are doing analysis, we will probably be using pandas
.
The relationship looks like this:
- Network:
NetworkX
- Analysis:
pandas
- Visualization:
scikit-network
- ML:
scikit-learn
andKarate Club