aesara-devs / aemcmc

AeMCMC is a Python library that automates the construction of samplers for Aesara graphs representing statistical models.
https://aemcmc.readthedocs.io/en/latest/
MIT License
39 stars 11 forks source link

Make `construct_sampler` available in the `aemcmc` namespace #72

Closed rlouf closed 2 years ago

rlouf commented 2 years ago

Closes #69.

zoj613 commented 2 years ago

Do we also want to change the import in aemcmc/tests/test_basic.py?

codecov[bot] commented 2 years ago

Codecov Report

Base: 97.35% // Head: 97.35% // No change to project coverage :thumbsup:

Coverage data is based on head (bf934ef) compared to base (47df7f5). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #72 +/- ## ======================================= Coverage 97.35% 97.35% ======================================= Files 9 9 Lines 606 606 Branches 63 60 -3 ======================================= Hits 590 590 Misses 5 5 Partials 11 11 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

rlouf commented 2 years ago

I prefer to keep explicit imports within the library.