Replication code for XXX <-- enter paper reference here
See outstanding tasks in TODO.md.
These are the main contents of this repository:
data
- place input data here;experiments
- place working code here;output
- Outputs and plot files (may go anytime);README.md
- This file;simulator
- R scripts for monte carlo simulation of the various versions of the model;replication
- replication code;
These steps assume you are using Anaconda Python as your python distribution, which comes with the conda
package manager installed.
-
Open the terminal and clone this repository from github:
git clone git@github.com:tambu85/misinfo_spread.git
This assumes you have configured authentication to Github via SSH.
-
Enter into the folder
misinfo_spread
:cd misinfo_spread
-
Create a virtual environment and install the required dependencies (see
environment.yml
). With this can be achieved by running:conda env create -n misinfo_spread --file environment.yml
-
Activate the environment you have just created:
conda activate misinfo_spread
-
Install pip, either via conda (
conda install pip
) or its default installation methods. -
Install the package as an editable install:
pip install -e .