{"id":1640,"date":"2019-04-01T08:29:59","date_gmt":"2019-04-01T12:29:59","guid":{"rendered":"http:\/\/www.michelecoscia.com\/?page_id=1640"},"modified":"2019-06-20T06:01:53","modified_gmt":"2019-06-20T10:01:53","slug":"community-discovery-network","status":"publish","type":"page","link":"https:\/\/www.michelecoscia.com\/?page_id=1640","title":{"rendered":"Community Discovery Network"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1641\" src=\"http:\/\/www.michelecoscia.com\/wp-content\/uploads\/2019\/04\/asn-1024x551.png\" alt=\"\" width=\"500\" height=\"269\" srcset=\"https:\/\/www.michelecoscia.com\/wp-content\/uploads\/2019\/04\/asn-1024x551.png 1024w, https:\/\/www.michelecoscia.com\/wp-content\/uploads\/2019\/04\/asn-300x161.png 300w, https:\/\/www.michelecoscia.com\/wp-content\/uploads\/2019\/04\/asn-768x413.png 768w, https:\/\/www.michelecoscia.com\/wp-content\/uploads\/2019\/04\/asn.png 1306w\" sizes=\"auto, (max-width: 500px) 85vw, 500px\" \/><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.michelecoscia.com\/wp-content\/uploads\/2019\/04\/asn.zip\"><strong>Download the Algorithm Similarity Network<\/strong><\/a><\/p>\n<p>This is the companion supplementary material for the paper &#8220;Discovering Communities of Community Discovery&#8221;, currently under review to the ASONAM conference. The package includes the data &amp; code to replicate the main results of the paper.<\/p>\n<p>If you&#8217;re only interested in the main Algorithm Similarity Network, you can find it in the asn.tsv file in the main folder of the ZIP archive. The network&#8217;s nodes are algorithm solving the community discovery problem. I ran more than a thousand benchmarks and I counted the number of times in which the two algorithms returned very similar results, which is the basis for the edges. This version of the network has been filtered using the noise corrected backboning technique. The file has four columns: the first two are the algorithms&#8217; names, and the second two are: nij (the number of benchmark in which the two algorithms agree) and score (a measure of significance of the edge weight).<\/p>\n<p>Otherwise, the replication material is divided into two folders.<\/p>\n<p>01_network contains the full non-backboned network (asn_all_complete_top5count.tsv) and various view of it, plus Python scripts to generate figures 1 &amp; 2 in the paper.<\/p>\n<p>02_robustness contains several alternative ways to build ASN: by averaging similarity scores (asn_all_complete_nmiavg.tsv); imposing a hard threshold to count the similarities between two algorithms (asn_all_backbone_hardthresh.tsv); only considering LFR benchmarks (asn_lfr_complete_top5count.tsv); or only considering real world networks as benchmarks (asn_real_complete_top5count.tsv).<\/p>\n<p>Note that the Python scripts require a set of standard Python scientific libraries (numpy, scipy, pandas, scikit-learn, networkx, &#8230;). The package also includes compiled binaries to calculate Infomap communities (<a href=\"http:\/\/www.mapequation.org\/\">code from Daniel Edler &amp; Martin Rosvall<\/a>) and the overlapping normalized mutual information (<a href=\"https:\/\/github.com\/aaronmcdaid\/Overlapping-NMI\">code from McDaid&#8217;s GitHub<\/a>). I compiled them on Ubuntu 18.04, thus they might not work on other systems and you&#8217;re encouraged to re-compile them yourself.<\/p>\n<p>Due to space constraints, I could not cite the authors of all 73 algorithms in my paper. Thus I report here a map on how to find out which implementations I used. The tag I use to identify the algorithm is consistent with the one I use in the figure. (Disclaimer: of course, some of these links are bound to break in the future. I accessed them last time around November 2018, so the Internet Archive could help)<\/p>\n<p>edgebetween, fastgreedy, hrg, labelperc, leadeig, louvain, spinglass, walktrap: igraph implementation in R (<a href=\"https:\/\/igraph.org\/r\/\">https:\/\/igraph.org\/r\/<\/a>)<br \/>\nmcl: <a href=\"https:\/\/www.micans.org\/mcl\/#source\">https:\/\/www.micans.org\/mcl\/#source<\/a><br \/>\ntabu, extr: [5] and [6] in <a href=\"http:\/\/deim.urv.cat\/~sergio.gomez\/radatools.php\">http:\/\/deim.urv.cat\/~sergio.gomez\/radatools.php<\/a><br \/>\nganet, ganet+, moganet: <a href=\"http:\/\/staff.icar.cnr.it\/pizzuti\/codes.html\">http:\/\/staff.icar.cnr.it\/pizzuti\/codes.html<\/a><br \/>\nganxis: <a href=\"https:\/\/sites.google.com\/site\/communitydetectionslpa\/\">https:\/\/sites.google.com\/site\/communitydetectionslpa\/<\/a><br \/>\nconclude: <a href=\"http:\/\/www.emilio.ferrara.name\/code\/conclude\/\">http:\/\/www.emilio.ferrara.name\/code\/conclude\/<\/a><br \/>\nconga, copra, cliquemod, peacock: <a href=\"http:\/\/gregory.org\/research\/networks\/\">http:\/\/gregory.org\/research\/networks\/<\/a><br \/>\nmlrmcl: <a href=\"https:\/\/sites.google.com\/site\/stochasticflowclustering\/\">https:\/\/sites.google.com\/site\/stochasticflowclustering\/<\/a><br \/>\nmetis: <a href=\"http:\/\/glaros.dtc.umn.edu\/gkhome\/metis\/hmetis\/download\">http:\/\/glaros.dtc.umn.edu\/gkhome\/metis\/hmetis\/download<\/a><br \/>\nslpa, fluid, kerlin, kclique: networkx implementation in python (<a href=\"https:\/\/networkx.github.io\/documentation\/stable\/\">https:\/\/networkx.github.io\/documentation\/stable\/<\/a>)<br \/>\npmm: <a href=\"http:\/\/leitang.net\/heterogeneous_network.html\">http:\/\/leitang.net\/heterogeneous_network.html<\/a><br \/>\ncrossass: <a href=\"https:\/\/faculty.mccombs.utexas.edu\/deepayan.chakrabarti\/software.html\">https:\/\/faculty.mccombs.utexas.edu\/deepayan.chakrabarti\/software.html<\/a><br \/>\ndemon: <a href=\"http:\/\/www.michelecoscia.com\/?page_id=42\">http:\/\/www.michelecoscia.com\/?page_id=42<\/a><br \/>\nbigclam, agm: part of the SNAP library (<a href=\"https:\/\/snap.stanford.edu\/\">https:\/\/snap.stanford.edu\/<\/a>)<br \/>\nhlc: <a href=\"http:\/\/barabasilab.neu.edu\/projects\/linkcommunities\/\">http:\/\/barabasilab.neu.edu\/projects\/linkcommunities\/<\/a><br \/>\ntiles: <a href=\"https:\/\/github.com\/GiulioRossetti\/TILES\">https:\/\/github.com\/GiulioRossetti\/TILES<\/a><br \/>\noslom: <a href=\"https:\/\/sites.google.com\/site\/andrealancichinetti\/software\">https:\/\/sites.google.com\/site\/andrealancichinetti\/software<\/a><br \/>\nkmeans, dbscan, ward, agglomerative, spectral, meanshift, affinity, birch: <a href=\"http:\/\/scikit-learn.org\/stable\/modules\/classes.html#module-sklearn.cluster\">http:\/\/scikit-learn.org\/stable\/modules\/classes.html#module-sklearn.cluster<\/a><br \/>\ncode-dense: <a href=\"https:\/\/link.springer.com\/article\/10.1007\/s10618-014-0373-y\">https:\/\/link.springer.com\/article\/10.1007\/s10618-014-0373-y<\/a><br \/>\nmoses, collapsed-sbm: <a href=\"https:\/\/sites.google.com\/site\/aaronmcdaid\/downloads\">https:\/\/sites.google.com\/site\/aaronmcdaid\/downloads<\/a><br \/>\ngce: <a href=\"https:\/\/sites.google.com\/site\/greedycliqueexpansion\/\">https:\/\/sites.google.com\/site\/greedycliqueexpansion\/<\/a><br \/>\nilcd: <a href=\"http:\/\/cazabetremy.fr\/rRessources\/iLCD.html\">http:\/\/cazabetremy.fr\/rRessources\/iLCD.html<\/a><br \/>\nsvinet, mmsb: <a href=\"https:\/\/github.com\/premgopalan\/svinet\">https:\/\/github.com\/premgopalan\/svinet<\/a><br \/>\nbnmtf: <a href=\"http:\/\/www.cse.ust.hk\/~dyyeung\/code\/BNMTF.zip\">http:\/\/www.cse.ust.hk\/~dyyeung\/code\/BNMTF.zip<\/a><br \/>\nrmcl: <a href=\"https:\/\/rdrr.io\/github\/DavidGilgien\/ML.RMCL\/man\/ML_RMCL.html\">https:\/\/rdrr.io\/github\/DavidGilgien\/ML.RMCL\/man\/ML_RMCL.html<\/a><br \/>\nOLC: <a href=\"http:\/\/www-personal.umich.edu\/~mejn\/OverlappingLinkCommunities.zip\">http:\/\/www-personal.umich.edu\/~mejn\/OverlappingLinkCommunities.zip<\/a><br \/>\ncme-td, cme-bu: <a href=\"https:\/\/github.com\/linhongseba\/ContentMapEquation\">https:\/\/github.com\/linhongseba\/ContentMapEquation<\/a><br \/>\nedgeclust: <a href=\"http:\/\/homes.sice.indiana.edu\/filiradi\/Data\/radetal_algorithm.tgz\">http:\/\/homes.sice.indiana.edu\/filiradi\/Data\/radetal_algorithm.tgz<\/a><br \/>\ninfocentr: <a href=\"https:\/\/www.w3.org\/People\/Massimo\/papers\/2004\/community_pre_04.pdf\">https:\/\/www.w3.org\/People\/Massimo\/papers\/2004\/community_pre_04.pdf<\/a> (my own implementation)<br \/>\nmsg, vm: <a href=\"http:\/\/www.biochem-caflisch.uzh.ch\/node\/385\">http:\/\/www.biochem-caflisch.uzh.ch\/node\/385<\/a><br \/>\nocg: <a href=\"http:\/\/tagc.univ-mrs.fr\/tagc\/index.php\/software\/ocg\">http:\/\/tagc.univ-mrs.fr\/tagc\/index.php\/software\/ocg<\/a><br \/>\nsavi: <a href=\"http:\/\/dsec.pku.edu.cn\/~tieli\/\">http:\/\/dsec.pku.edu.cn\/~tieli\/<\/a><br \/>\nmixnet: <a href=\"http:\/\/www.math-evry.cnrs.fr\/logiciels\/mixnet\/mixnet\">http:\/\/www.math-evry.cnrs.fr\/logiciels\/mixnet\/mixnet<\/a><br \/>\nvbmod: <a href=\"https:\/\/github.com\/jhofman\/vbmod_python\">https:\/\/github.com\/jhofman\/vbmod_python<\/a><br \/>\nbridgebound, bagrowLocal, clausetLocal, lwplocal: <a href=\"https:\/\/github.com\/kleinmind\/bridge-bounding\">https:\/\/github.com\/kleinmind\/bridge-bounding<\/a><br \/>\ninfomap, infomap-overlap: <a href=\"http:\/\/www.mapequation.org\/code.html#Download-and-compile\">http:\/\/www.mapequation.org\/code.html#Download-and-compile<\/a><br \/>\ngraclus: <a href=\"http:\/\/www.cs.utexas.edu\/users\/dml\/Software\/graclus.html\">http:\/\/www.cs.utexas.edu\/users\/dml\/Software\/graclus.html<\/a><br \/>\ngraclus2stage: <a href=\"https:\/\/www.researchgate.net\/profile\/Padraig_Cunningham\/publication\/222089361_Community_Finding_in_Large_Social_Networks_Through_Problem_Decomposition\/links\/09e4150fe534d66b1c000000\/Community-Finding-in-Large-Social-Networks-Through-Problem-Decomposition.pdf\">https:\/\/www.researchgate.net\/profile\/Padraig_Cunningham\/publication\/222089361_Community_Finding_in_Large_Social_Networks_Through_Problem_Decomposition\/links\/09e4150fe534d66b1c000000\/Community-Finding-in-Large-Social-Networks-Through-Problem-Decomposition.pdf<\/a>\u00a0(my own implementation)<br \/>\nfuzzyclust: <a href=\"https:\/\/github.com\/ntamas\/fuzzyclust\">https:\/\/github.com\/ntamas\/fuzzyclust<\/a><br \/>\nnetcarto: <a href=\"http:\/\/seeslab.info\/downloads\/network-cartography-netcarto\/\">http:\/\/seeslab.info\/downloads\/network-cartography-netcarto\/<\/a><br \/>\nlinecomms: <a href=\"https:\/\/sites.google.com\/site\/linegraphs\/\">https:\/\/sites.google.com\/site\/linegraphs\/<\/a> (to generate the line graph + igraph&#8217;s implementation of Louvain)<\/p>\n<p>The 819 real world networks we use as a benchmark come from the following papers\/links:<\/p>\n<p>E. Gabasova, &#8220;The Star Wars social network.&#8221; Evelina Gabasova&#8217;s Blog<br \/>\nT. Snijders, G. van de Bunt, and C. Steglich, &#8220;Introduction to stochastic actor-based models for network dynamics.&#8221; Social Networks 32(1), 44-60 (2010)<br \/>\nG. Van de Bunt, M. Van Duijn, and T. Snijders. &#8220;Friendship networks through time: An actor-oriented dynamic statistical network model.&#8221; Computational &amp; Mathematical Organization Theory 5.2. 167-192. (1999)<br \/>\nC. J. Rhodes and P. Jones, &#8220;Inferring missing links in partially observed social networks.&#8221; Journal of the Operational Research Society 60(10), 1373-1383 (2009)<br \/>\nK. Descormiers, and C. Morselli, &#8220;Alliances, conflicts, and contradictions in Montreal\u2019s street gang landscape.&#8221; International Criminal Justice Review 21(3), 297-314 (2011)<br \/>\nS. R. Sundaresan et al., &#8220;Network metrics reveal differences in social organization between two fission-fusion species, Grevy&#8217;s zebra and onager.&#8221; Oecologia 151(1), 140-149 (2007)<br \/>\nM. W. Schein and M. H. Fohrman. &#8220;Social dominance relationships in a herd of dairy cattle.&#8221; The British J. of Animal Behaviour 3(2), 45-55 (1955)<br \/>\nA. G. S. Framis, &#8220;Illegal networks or criminal organizations: Power, roles and facilitators in four cocaine trafficking structures.&#8221; In &#8216;Third Annual Illicit Networks Workshop,&#8217; Montreal (2011)<br \/>\nA. Beveridge and J. Shan, &#8220;Network of Thrones.&#8221; Math Horizons 23(4), 18-22 (2016)<br \/>\nW. De Nooy, &#8220;A literary playground: Literary criticism and balance theory.&#8221; Poetics 26 (5-6), 385-404 (1999)<br \/>\n<a href=\"http:\/\/vlado.fmf.uni-lj.si\/pub\/networks\/data\/bio\/foodweb\/foodweb.htm\">http:\/\/vlado.fmf.uni-lj.si\/pub\/networks\/data\/bio\/foodweb\/foodweb.htm<\/a><br \/>\n<a href=\"http:\/\/wwwlovre.appspot.com\/support.jsp\">http:\/\/wwwlovre.appspot.com\/support.jsp<\/a><br \/>\nD. F Lott, &#8220;Dominance relations and breeding rate in mature male American bison.&#8221; Zeitschrift f\u00fcr Tierpsychologie 49(4), 418-432 (1979)<br \/>\nJ. Kaminski et al., &#8220;Moviegalaxies &#8211; Social Networks in Movies.&#8221; https:\/\/doi.org\/10.7910\/DVN\/T4HBA3, Harvard Dataverse, V3 (2018)<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.michelecoscia.com\/wp-content\/uploads\/2019\/04\/asn.zip\"><strong>Download the Algorithm Similarity Network<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the Algorithm Similarity Network This is the companion supplementary material for the paper &#8220;Discovering Communities of Community Discovery&#8221;, currently under review to the ASONAM conference. The package includes the data &amp; code to replicate the main results of the paper. If you&#8217;re only interested in the main Algorithm Similarity Network, you can find it &hellip; <a href=\"https:\/\/www.michelecoscia.com\/?page_id=1640\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Community Discovery Network&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":213,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1640","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=\/wp\/v2\/pages\/1640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1640"}],"version-history":[{"count":4,"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=\/wp\/v2\/pages\/1640\/revisions"}],"predecessor-version":[{"id":1658,"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=\/wp\/v2\/pages\/1640\/revisions\/1658"}],"up":[{"embeddable":true,"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=\/wp\/v2\/pages\/213"}],"wp:attachment":[{"href":"https:\/\/www.michelecoscia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}