ComputeSurprise: Codes to compute the Surprise of the partition of a network into communities.
C++, Matlab and R codes available. (If you are interested in collaborate improving the code or writing the Surprise calculation in your favorite language, just let me know. You will be very welcome!)
For more information about Surprise, please check out:
- "Deciphering network community structure by Surprise". Rodrigo Aldecoa and Ignacio Marín. PloS ONE 6, e24195 (2011). http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0024195
and:
- "Surprise maximization reveals the community structure of complex networks". Rodrigo Aldecoa and Ignacio Marín. Scientific Reports 3, 1060 (2013). http://www.nature.com/srep/2013/130114/srep01060/full/srep01060.html