-
Notifications
You must be signed in to change notification settings - Fork 9
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
refactors FactorGroup class to tie less-closely to EnumerationFactors #49
refactors FactorGroup class to tie less-closely to EnumerationFactors #49
Conversation
* FactorGroup now only required var_group * EnumerationFactorGroup and PairwiseEnumeratedFactorGroup are now sub-classes of FactorGroup * Refactors sanity_check example to work with new FactorGroup classes
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.
Made some comments. A useful exercise is to also update the heretic model PR with the new updates and see whether things are becoming cleaner/simpler.
I tested the heretic model with this new interface code and it is indeed simpler to specify! Will update the heretic PR once this PR gets merged 😄 |
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.
Made some additional comments. Not sure the current approach is a good one....
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.
Made another round of comments. No major issues, but many details need improvements
Co-authored-by: Guangyao Zhou <[email protected]>
* not all comments addressed yet!
…to pairwise_factors
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.
LGTM after a further simplification!
Resolves #43