Skip to content

Invalid values being used for testing Beta distribution #5023

@kc611

Description

@kc611

Description of your problem

This was pointed out in #4887 that the testing for Beta distribution used values that might lead to invalid combination of arguments in the following test:

https://github.com/pymc-devs/pymc3/blob/53e572caa3144f77951e233f6bcca72b63084bd8/pymc3/tests/test_distributions.py#L1164-L1169

The values for mu and sigma are picked randomly from their respective Domain. However in this particular case we only have certain value pairs which are valid. In the current v4 testing it simply returns NaN values for invalid cases. With #4887 we will require a new mechanism/value Domains to be placed over here.

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