This repository contains code for two works related to the analysis of opinion dynamics under the voter model. util.py
contains custom functions used throughout the various notebooks.
- A. Vendeville, B. Guedj and S. Zhou. Towards control of opinion diversity by introducing zealots into a polarised social group. Proceedings of Complex Networks and Their Applications X. Preprint on arXiv, HAL.
All code is in
opinion_control.ipynb
. Foldersimu_results/
contains results of the simulations performed for the paper and used for plots.
- A. Vendeville, B. Guedj and S. Zhou. Forecasting elections results via the voter model with stubborn nodes. Applied Network Science 6, 1, 2021. Preprint on arXiv, HAL.
All code is in
elections.ipynb
. The data is stored inelections_files/
.