Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to train the ERGM model mentioned in your paper? #5

Open
xiangsheng1325 opened this issue Dec 14, 2020 · 1 comment
Open

How to train the ERGM model mentioned in your paper? #5

xiangsheng1325 opened this issue Dec 14, 2020 · 1 comment

Comments

@xiangsheng1325
Copy link

Hi, thanks for your excellent work on graph generation.

I have some problems during the implementation of the baseline method ERGM in your paper. I followed your parameter settings in R, but the simulation results are always bad (such as the explosion of the number of edges).

This is my R code for graph simulation by ERGM:
result.network <- simulate( ergm( input.network ~ edges + degcor + degree1.5 + gwesp + density, control=control.ergm( MCMLE.maxit=20, MCMLE.density.guard=100000, parallel=2, parallel.type="PSOCK" )) )
where 'input.network' is the graph to be simulated, and the function 'simulate' is from package 'ergm'.
I wonder how to have the right hyper-parameters to have the best simulation result like your paper's.

@xiangsheng1325
Copy link
Author

I have tested several datasets and I find that ERGM can successfully simulate molecule graphs. However, simulation cannot converge when generating big graphs (having more than 500 nodes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant