Summary and Schedule
This lesson was built with The Carpentries Workbench.
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Networks - Introduction |
How are graphs represented? How are graphs visualised? What are common types of graphs? :::::::::::::::::::::::::::::::::::::::::::::::: |
Duration: 02h 00m | 2. Networks - Quantification |
How to generate test matrices using NetworkX? What is the purpose of the node degree and the degree distribution? How can a network be quantified? :::::::::::::::::::::::::::::::::::::::::::::::: |
Duration: 04h 00m | 3. Networks - Applications |
What ways are there to import data into NetworkX? What are the common file import error? How to troubleshoot the import errors? |
Duration: 06h 00m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Package Installation
To install the networkx
package, run the following
command on terminal.
pip install networkx==2.8.8
Note: The newer version (3.0) of this package has depreciated some of the functions being used in the lesson. The newer functions needs to be fully tested before update. Therefore, its recommnded to use the version 2.8.8.
Data Sets
Please download the data zip file and unzip it to your Desktop. It contains:
The code assumes a path to the data files as ‘data/…’ or ‘data\...’, respectively. To use this path, please create a subfolder called ‘data’ in your current directory and put the data files in it.