8000 t-SNE should expose convergence criteria · Issue #5165 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

t-SNE should expose convergence criteria #5165

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

Closed
leopd opened this issue Aug 26, 2015 · 0 comments · Fixed by #5186
Closed

t-SNE should expose convergence criteria #5165

leopd opened this issue Aug 26, 2015 · 0 comments · Fixed by #5186

Comments

@leopd
Copy link
leopd commented Aug 26, 2015

In sklearn.manifold.TSNE, the parameter "n_iter_without_progress" is in the _gradient_descent method https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/manifold/t_sne.py#L114 is defaulted to 30, and there's no way through the public interface to change it.

On my data sets, this often causes it to stop too early, resulting in poor embeddings. For example, I often observe identical input vectors not getting projected to the same embedding. Reducing the learning rate can help, but then I bump into the min_error_diff parameter which is also not configurable, and causes it to believe it has converged when it hasn't.

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

Successfully merging a pull request may close this issue.

1 participant
0