premgopalan / svinet

Efficient discovery of overlapping communities in massive networks PK Gopalan, DM Blei Proceedings of the National Academy of Sciences 110 (36), 14534-14539
GNU General Public License v3.0
74 stars 35 forks source link

_training_links counted twice? #8

Open xunzheng opened 10 years ago

xunzheng commented 10 years ago

Hi,

_training_links in linksampling.cc (https://github.com/premgopalan/svinet/blob/f10df14274caffa2952956319aa89fa97305e84c/src/linksampling.cc#L513) is counted twice, which made this line (https://github.com/premgopalan/svinet/blob/f10df14274caffa2952956319aa89fa97305e84c/src/linksampling.cc#L539) different from the equation [S17] in the PNAS paper. Please let me know if I missed something.

thanks.