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

Improve performance #41

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tomhaber
Copy link

Improves performance of optimize_embedding by:

  • better memory locality (use of matrices instead of Vector{Vector})
  • reduces the number of branches and pow calls
  • compute the optimization in the precision required (fit_ab causes everything to be Float64). Rather small impact at the moment

Overall, I'm getting almost a factor 2 improvement on larger datasets while avoiding any approximations

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