-
Notifications
You must be signed in to change notification settings - Fork 14
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
Improve documentation and error handling Mixture
node
#446
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #446 +/- ##
=======================================
Coverage 73.59% 73.59%
=======================================
Files 195 195
Lines 5593 5594 +1
=======================================
+ Hits 4116 4117 +1
Misses 1477 1477 ☔ View full report in Codecov by Sentry. |
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.
Left some comments, I think we should be explicit about RxInfer.jl when we bring things like @model
macro, because it doesn't exist in ReactiveMP.jl
Co-authored-by: Bagaev Dmitry <[email protected]>
This pull request includes minor changes to the
src/addons/logscale.jl
andsrc/nodes/predefined/mixture.jl
files to enhance error messaging and documentation. The most important changes include adding a more detailed error message for missing log-scale addons and providing comprehensive documentation for theMixtureNode
struct.Enhancements to error messaging:
src/addons/logscale.jl
: Added a detailed error message for cases where the log-scale addon is not available, guiding users to includeAddonLogScale
in the addons.Improvements to documentation:
src/nodes/predefined/mixture.jl
: Added extensive documentation for theMixtureNode{N}
struct, including a description of its interfaces, an example usage, and a note on the requirement of theAddonLogScale
addon.