Skip to content

Oscillating non-convergence of EM #2

@ebattenberg

Description

@ebattenberg

Dunno if this is actually used, but I thought I'd document things I've noticed here.

I've changed the convergence criterion in my branch in em_cilk_train.mako to continue iterations while change > epsilon rather than fabs(change) > epsilon. For large datasets, the magnitude of change due to roundoff can sometimes oscillate above epsilon. Since EM updates are supposed to be monotonically increasing in the log likelihood, the first time the roundoff error cause the change to be negative, iterations should stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions