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

Possibility of sending the incomplete adjacency matrix of a graph in test #5

Closed
sbhttchryy opened this issue Nov 19, 2019 · 1 comment

Comments

@sbhttchryy
Copy link

In gran_mixture_bernoulli.py
A_pad = input_dict['adj'] if 'adj' in input_dict else None

My question is during testing, is it possible to send the the adjacency matrix of an incomplete graph as A_pad and see if it gets regenerated again? If yes, is there any thing that I should keep in mind?

@lrjconan
Copy link
Owner

Yes, it is doable to generate the graph conditioned on some existing partial adjacency matrix. I think you need to replace the all-zero pre-allocated the full adjacency matrix with your input adjacency matrix and slightly modify the sampling function.

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

2 participants