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 could results of geosketch be replicatable? #9

Closed
IMJoeyZhu opened this issue Oct 27, 2020 · 1 comment
Closed

How could results of geosketch be replicatable? #9

IMJoeyZhu opened this issue Oct 27, 2020 · 1 comment

Comments

@IMJoeyZhu
Copy link

Hey there,

I'm trying to generate identical results by using geosketch. But it seems that the result is hard to be replicated. I used set.seed() but it did not work. How could I make it?

Joey

@brianhie
Copy link
Owner

brianhie commented Oct 27, 2020

Hi @IMJoeyZhu, could you try setting the seed parameter?

def gs_gap(X, N, k='auto', seed=None, replace=False,

That just sets the numpy seed and worked for us to ensure reproducibility.

Closing for now but feel free to reopen if there's a bug.

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