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

fast_em.cc optimization potential #53

@andychu

Description

@andychu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions