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

rewrite python kmeans without scipy #3873

Closed
wants to merge 1 commit into from

Conversation

mdouze
Copy link
Contributor

@mdouze mdouze commented Sep 19, 2024

Summary:
The previous version required scipy to do the accumulation, which is replaced here with a nifty piece of numpy accumulation.
This removes the need for scipy for non-sparse data.

Differential Revision: D62884307

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62884307

Summary:
Pull Request resolved: facebookresearch#3873

The previous version required scipy to do the accumulation, which is replaced here with a nifty piece of numpy accumulation.
This removes the need for scipy for non-sparse data.

Reviewed By: junjieqi

Differential Revision: D62884307
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62884307

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0d7817e.

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

Successfully merging this pull request may close these issues.

3 participants