SamJia / CommunityGAN

A tensorflow implementation of CommunityGAN (Community Detection with Generative Adversarial Nets)
MIT License
77 stars 34 forks source link

Choice of community number #1

Open XiaoYu1114 opened 5 years ago

XiaoYu1114 commented 5 years ago

Dear Jia,

I am utilizing your CommunityGAN method, but unclear about the way you evaluate the predicted communities in the validation set.

In your paper, you said: "We reserve 20% of links for validation and learn the model parameters with the remaining 80% of links for different C. After that, we use the learned parameters to predict the links in validation set and select the C with the maximum prediction score as the number of communities."

I am doing community detection using data without ground-truth communities. Could you tell me how can I compute the prediction score of test data in this case?

Thank you.

Best Regards, Caly