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

Speedup math operations #4

Open
fungs opened this issue Jul 19, 2017 · 1 comment
Open

Speedup math operations #4

fungs opened this issue Jul 19, 2017 · 1 comment

Comments

@fungs
Copy link
Owner

fungs commented Jul 19, 2017

The code is currently slow, we can do much better using

  • removing assertions in non-debug mode
  • scaling data at the beginning to avoid likelihood calculations
  • speeding up vector arithmetics with more advanced python packages/methods
  • avoiding the time for parsing the data over and over again
@fungs
Copy link
Owner Author

fungs commented Apr 18, 2018

Considerations:

  • numexpr, theano or numba for faster math
  • Cython
  • numpy.ascontiguousarray, numpy.vdot, numpy.memmap

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