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

random_seed does not seem to work #129

Open
adradr opened this issue Nov 28, 2023 · 4 comments
Open

random_seed does not seem to work #129

adradr opened this issue Nov 28, 2023 · 4 comments

Comments

@adradr
Copy link

adradr commented Nov 28, 2023

Hey there! 👋🏻

First, I'd like to thank this library as it works like a charm on CUDA. Second I have stumbled upon an issue that I am not totally understanding regarding fixing a random_seed. The sklean version uses a parameter called random_state so I suppose this would be for the same purpose, however when setting like the following I receive a different result when executing the same code twice on the exactly same dataset.

When doing the exactly same with the sklearn.manifold.TSNE imported then I am getting the same result using a fixed randomness when executing twice. Also getting different results using sklearn vs tsne-cuda

Why is that, what am I missing?

Thanks,
adr

# Using t-SNE for dimensionality reduction
tsne = TSNE(n_components=2, random_seed=420, perplexity=30, n_iter=1000, verbose=1)
tsne_results = tsne.fit_transform(X)
@JackieQiang
Copy link

same question

@callzhang
Copy link

any updates?

@ethahtz
Copy link

ethahtz commented Sep 13, 2024

same question

1 similar comment
@jjin-seol
Copy link

same question

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

5 participants