Skip to content

Use logdet() instead of log(det()) #1012

@taku-y

Description

@taku-y

harpone is going to implement logdet() in Theano (Theano/Theano#3959), though maybe not merged yet. What do you think of using this in PyMC3 multivariate normal distribution? It is numerically stable than using log(det()) as in the current implementation.

When I used a sparse ARD regression model with ADVI, the current implementation of mvnormal failed to calculate its log probability because of using log(det()).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions