Skip to content

Incorrect Variance Term in Gaussian Log Probability Calculation #7

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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