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

[Feature] Incremental embedding #16

Open
akshayka opened this issue Mar 26, 2021 · 4 comments
Open

[Feature] Incremental embedding #16

akshayka opened this issue Mar 26, 2021 · 4 comments

Comments

@akshayka
Copy link
Member

Implement a method for incrementally embedding, i.e., for adding new points to an existing embedding, as described in chapter 2, section 4.2 of the monograph.

All the necessary pieces are already implemented; they just need to be assembled together.

@akshayka akshayka changed the title [Feature] Incremental Embedding [Feature] Incremental embedding Mar 26, 2021
@ghost
Copy link

ghost commented Apr 12, 2021

thanks for your nice work. I am interested in the incremental embedding. Let me know when do you plan to have?.

@akshayka
Copy link
Member Author

Thanks for your interest!

My tentative plan is to develop this feature within the next one to two months. I will update this thread once I start development.

@akshayka
Copy link
Member Author

akshayka commented Apr 25, 2021

@bbdamodadran, I've added an example notebook that shows how to do incremental embedding (i.e., add new points to an existing embedding), using pymde.preserve_neighbors. It's just 3 lines of code (or 1, if you chain them together).

The notebook is here: https://github.com/cvxgrp/pymde/blob/main/examples/updating_an_existing_embedding.ipynb

I've also updated the documentation on embedding new points (https://pymde.org/mde/index.html#embedding-new-points).

Hopefully that's enough to get you started. Let me know if you have any questions.

@ghost
Copy link

ghost commented Jun 4, 2021

@akshayka Thanks for adding this new feature and also for the neat example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant