Implementation of "A cascade information diffusion based label propagation algorithm for community detection in dynamic social networks"
- Anuj Yadav
- Nrittik Sarmah
- Shashank Maurya
- Chandrakanta Choudhury
- Udit Talukdar
- networkx
- numpy
- python-louvain
- scikit-learn
- Go inside the
src
folder in your terminal/Open your code editor inside thesrc
folder. - To add a new dataset, go into the dataset folder and create a folder by the name of your dataset.
- Add 2 files inside your dataset,
t1.txt
- for the edgeslist of the network at the 1st timestamp andinput.txt
- for the entire input of nodes, timestamps and the edgeslist of each timestamp. - Go to the project notebook, import
coderunner
and callrun_cidlpa
by passing in the name of your dataset.