ARCHIVE
1/1
An agent-based model for emotion contagion and competition in online social media
Version 2 2017-12-20, 04:29Version 2 2017-12-20, 04:29
Version 1 2017-06-08, 15:58Version 1 2017-06-08, 15:58
software
posted on 2017-12-20, 04:29 authored by Jichang ZhaoJichang ZhaoCode and demo datasets 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 16 params in total:
Rand: A boolean value. If it is true, users will have random screen size. default: false
PN: The probability of publishing new tweet (If PNPath is empty)
PNPath: The probability of publishing new tweets for users
PNMoodPath: The ratio of four emotions for users
screenSize: default screen size
MAX_STEP: the maximum simulation steps
angerRatio, disgustRatio, joyfulRatio, sadnessRatio: the proportions of newly posted four emotion
angerCorr, disgustCorr, joyfulCorr, sadnessCorr: the correlation of the four emotions and the retweet threshold.
History
Usage metrics
Categories
Keywords
Licence
Exports
RefWorksRefWorks
BibTeXBibTeX
Ref. managerRef. manager
EndnoteEndnote
DataCiteDataCite
NLMNLM
DCDC