The python script project.py is the modified version of Independent Cascade model and the the python script vanilla.py is the vanilla implementation of Indepenent Cascade model.
To execute the program, execute the command: python <python_script>
Reference: https://www.cs.cornell.edu/home/kleinber/kdd03-inf.pdf