-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
TSNE - n_iter_without_progress not working #6450
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
Comments
I think you are right and line 816 seems to be an error too, but can be removed when the previous line is fixed. |
If line 816 is wrong, then line 815 probably should be changed as well. Seems like |
I'm not completely sure if this two lines are intentional, but it seems strange to me that |
It was a design decision to not expose these parameters to the user. They are set to similar values in most other open source implementations of t-SNE. |
ok, I understand. |
I don't think that makes sense. The parameters are not mentioned in the user documentation because they cannot be used. Everyone who wants to modify the code can read the code and docstring of the function. |
Good point, but I still see the problem that a user can set If this is intended I do not see why we have this parameter, but maybe I'm missing something. |
No, it should not be possible:
|
That's strange, cause I do not get this error with the latest code in master. |
ok, I will create a PR. |
Hi, I am still experiencing the same error when I run the TSNE function: TypeError: _gradient_descent() got an unexpected keyword argument 'n_iter_check' Please advise me if there is any help |
@sandeepayyar in the development version or the stable version? This fix is not released yet. |
The
_gradient_descent
function always uses the default value of 50 for this, no matter what you set it to be. This is bad, especially if you want t-SNE to run for a fixed number of iterations.It can be fixed by changing the
_tsne
function as follows:Greetings
The text was updated successfully, but these errors were encountered: