8000 Request to add transform function to transform new data after the model has been fit. · Issue #5 · PAIR-code/umap-js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Request to add transform function to transform new data after the model has been fit. #5

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 8000 send you account related emails.

Already on GitHub? Sign in to your account

Closed
nickfrosst opened this issue Apr 24, 2019 · 4 comments

Comments

@nickfrosst
Copy link

It would be great if this functionality existed in the javascript implementation as it does in the python implementation here: https://github.com/lmcinnes/umap/blob/master/umap/umap_.py#L1592

@cannoneyed
Copy link
Member

I've scoped this out and started work on it - you can track the progress here.

The actual logic of the transform python implementation is a bit tricky, since it relies on a ton of scipy-matrix-specific conventions for shuttling the neighbor weights around... I've roughly ported over the algorithm and I'll just have to walk through its execution to make sure it's working as intended.

@nickfrosst
Copy link
Author
nickfrosst commented Apr 26, 2019 via email

@cannoneyed
Copy link
Member

PR here

Mind trying this out and seeing if it all works for you?

@nickfrosst
Copy link
Author
nickfrosst commented Apr 30, 2019 via email

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
0