- Open
config.ini
and modify themodel_args
appropriately. The number of trials can also be modified by changing theNUM_TRIALS
variable (default 10) inmain.py
. - Run
python3 main.py
from the root directory. - An
nx.html
file should be generated. Open the file in browser to view thepyvis
visualization of the election. The visualization is dynamic: zoom in/out, move groups of nodes around, and hover over nodes to view their competence. - Various statistics (including average accuracy, etc.) should also be outputted in terminal.
From left to right:
graph_type = 1
,delegation_rule = 1
graph_type = 1
,delegation_rule = 2
graph_type = 2
,delegation_rule = 1