Skip to content

Conversation

@hkariti
Copy link

@hkariti hkariti commented Jun 5, 2023

  • Accept a precomputed dist matrix instead of calculating ourselves
  • Use numpy operations for faster runtime

Tested on 1000 samples of scipy's half-moons with noise=0.24 and seed=1. Benchmark results on my machine:

master branch: time=128.46s memory=172864 KB
this branch: time=12.08s memory=164668 KB

- Accept a precomputed dist matrix instead of calculating ourselves
- Use numpy operations for faster runtime
@hkariti
Copy link
Author

hkariti commented Jun 5, 2023

Haven't noticed #17 before. I didn't compare their changes to mine

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

Successfully merging this pull request may close these issues.

1 participant