Skip to content

Incorrect Variance Term in Gaussian Log Probability Calculation #7

@AnitaLiu98

Description

@AnitaLiu98

Problem

The log probability calculation contains an error in the variance term:

log_prob_matrix = ... - 0.5 * log_sigma.sum(dim=-1)

- 0.5 * log_sigma.sum(dim=-1) is theoretically inconsistent with Gaussian distributions

Solution

Replace with:

log_prob_matrix = ... - log_sigma.sum(dim=-1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions