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

what is deepsnap.dataset.EnsembleGenerator? #14

Open
lihuiliullh opened this issue Jan 15, 2021 · 1 comment
Open

what is deepsnap.dataset.EnsembleGenerator? #14

lihuiliullh opened this issue Jan 15, 2021 · 1 comment

Comments

@lihuiliullh
Copy link

I couldn't find the detailed tutorial of EnsembleGenerator in your document.
Could you give an example of how EnsembleGenerator works?
What is the meaning of each parameter?

@zechengz
Copy link
Collaborator

zechengz commented Mar 8, 2021

Hi, sorry about the late reply. Basically, EnsembleGenerator is a generator composed of a list of generators. Those generators will have gen_prob probabilities to be sampled or used to generate the graph (if not specified each generator will have the same probabilities to be sampled). The probability of each generator is specified at the corresponding position in the gen_prob array.

We have a simple example in the test case

def test_ensemble_generator(self):
In the future, we might add more examples.

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