You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Wikipedia dataset used for the experiments can be downloaded with the following command.
Additionally, all the information concerning the dataset can be found on this website.
The code to run the experiments on triangle counting is included in the experience_triangles.py file.
To display all the options, execute:
>>> python src/experience_triangles.py -h
usage: experience_triangles.py [-h] [-o EXP_NAME] [-g {imdb,gplus,wiki}] [-n GRAPH_SIZE] [-a ALGORITHM] [-e PRIVACY_BUDGET] [-s SAMPLE] [-i NB_ITER]
estimate the number of triangles in a graph
options:
-h, --help show this help message and exit
-o EXP_NAME, --exp_name EXP_NAME
name of the experiment
-g {imdb,gplus,wiki}, --graph {imdb,gplus,wiki}
-n GRAPH_SIZE, --graph_size GRAPH_SIZE
size of the graph to extract
-a ALGORITHM, --algorithm ALGORITHM
algorithm to run
-e PRIVACY_BUDGET, --privacy_budget PRIVACY_BUDGET
privacy budget of the algorithm
-s SAMPLE, --sample SAMPLE
sample factor
-i NB_ITER, --nb_iter NB_ITER
number of runs
For example, one could try
python src/experience_triangles.py -o test -g wiki -n 7115 -a grr_css_smooth -e 1 -s 1024 -i 10