Skip to content

whether is it an error in computing the gauss of mix_gaussian? #23

@wgfi110

Description

@wgfi110

in prml/rv/multivariate_gaussian_mixture.py:124
the origin is :
D_sq = np.sum(np.einsum('nki,kij->nkj', d, self.cov) * d, -1)
should be changed to:
D_sq = np.sum(np.einsum('nki,kij->nkj', d, np.linalg.inv(self.cov)) * d, -1)

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