Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

fast_em.cc optimization potential #53

Open
andychu opened this issue Nov 11, 2015 · 0 comments
Open

fast_em.cc optimization potential #53

andychu opened this issue Nov 11, 2015 · 0 comments

Comments

@andychu
Copy link
Contributor

andychu commented Nov 11, 2015

Instead of serializing the m x n x N cond_prob matrix to C++, we can serialize the m and n dimension separately (without the outer product).

We could either do the outer product up front in C++, or we could do it "lazily" on every EM step. This is more computation, but could actually speed things up because we would save a lot in memory bandwidth.

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

No branches or pull requests

1 participant