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

itercost increment #47

Open
SamGG opened this issue Apr 29, 2020 · 3 comments
Open

itercost increment #47

SamGG opened this issue Apr 29, 2020 · 3 comments

Comments

@SamGG
Copy link

SamGG commented Apr 29, 2020

Hi,
Thanks for your invaluable package.
I am reviewing the code in order to better understand your code organization vs the multicore implementation.
At L220 shouldn't be costi++?

Rtsne/src/tsne.cpp

Lines 219 to 220 in 14b195f

itercost[costi] = C;
itercost++;

Is the error (stored in itercost IIUC) monitored/used somewhere in the code?
Best.

@jkrijthe
Copy link
Owner

Thanks for looking into this. I agree these lines are not very clear, although I guess it still does what it is supposed to do by incrementing the pointer instead of the index. But indeed incrementing costi would be clearer, so I should look into changing this.

The only way itercost is used is to be returned to the user (to get a sense of the loss over the iterations).

What is the multicore implementation you are considering?

@SamGG
Copy link
Author

SamGG commented Apr 29, 2020

Thanks for your answers.
I am looking at https://github.com/DmitryUlyanov/Multicore-TSNE.
In fact, I want to implement the opt-sne changes in Rtsne.
https://github.com/omiq-ai/Multicore-opt-SNE

@SamGG
Copy link
Author

SamGG commented May 5, 2020

Initial opt-sne integration for proposal in my repo.

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