EmotionAgentModel.zip (66.31 MB)

An agent-based model for emotion contagion and competition in online social media

Download (66.31 MB)
posted on 08.06.2017 by Jichang Zhao
Code of the agent-based emotion contagion model.

Input parameters:
weighted directed network path
simulation result path
param path

parameters example:
data/weighted_graph.txt results/simulation.txt params.conf

There are 3 input parameters, including the graph path, result path and the params path.

"params.conf" shows an example of params file. There are 12 params in total, including the probability of pushing new tweets, the screen size, the maximum simulation steps, the proportions of newly posted four emotion, the correlation of the four emotions and the retweet threshold.