-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support trans-dimensional bijectors, flatten MarkovBlanketCoveredModel
#88
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #88 +/- ##
==========================================
+ Coverage 71.75% 72.25% +0.49%
==========================================
Files 16 16
Lines 1625 1629 +4
==========================================
+ Hits 1166 1177 +11
+ Misses 459 452 -7
☔ View full report in Codecov by Sentry. |
@yebai Can you please give it quick look if you have some time? The PR is not fully ready yet, but the ideas are here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good overall. It's nice that the evaluate!!
function is unified for BUGS and Markov blanket models. I left some clarity comments below.
Pull Request Test Coverage Report for Build 6137549427
💛 - Coveralls |
@yebai another look? |
param_length
field inModel
s now store a tuple of integers, which is the dimension of parameters without and with bijector transformationvar_lengths
stores the size of values of variables, both without and with transformation. Use this information to unpack the parameter vector instead of query length at run timeMarkovBlanketCoveredModel
stores all the fields ofBUGSModel
flatlyevaluate!!
functions nowTODOs:
birats
to the tests too- [ ] add some test for using AdvancedHMC(will do this in a separate PR)