Skip to content
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

Full factorisation new name #381

Merged
merged 6 commits into from
Mar 6, 2024
Merged

Full factorisation new name #381

merged 6 commits into from
Mar 6, 2024

Conversation

Raphael-Tresor
Copy link
Contributor

@Raphael-Tresor Raphael-Tresor commented Feb 26, 2024

Changes

src/node.jl : FullFactorisation replaced by BetheFactorisation and FullFactorisation become depricated and an alias for BetheFactorisation.
test/node_tests.jl : duplicate basic test of FullFactorisation with BetheFactorisation.

@wouterwln
Copy link
Member

I'd prefer FullJoint over FullJoin, since we're modeling a full joint probability distribution over all interfaces in a node.

@bvdmitri
Copy link
Member

Thank you for working on this @Raphael-Tresor ! A couple of thoughts

  • After you're done with the changes, you should call make format in the terminal in the package's folder to automatically adjust the formatting in the files.
  • I would probably also use the @deprecate_binding macro in Julia, see more info here
  • Regarding the name I find the suggestion from @wouterwln good - FullJoint
  • If we deprecate the binding its better to go all examples and documentation in RxInfer.jl repo and change the default to FullJoin(t). But that can be a separate issue

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

Attention: Patch coverage is 45.00000% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 62.34%. Comparing base (cb80974) to head (b38bdfe).
Report is 2 commits behind head on main.

Files Patch % Lines
src/nodes/mixture.jl 0.00% 5 Missing ⚠️
src/constraints/specifications/factorisation.jl 0.00% 3 Missing ⚠️
src/constraints/specifications/form.jl 0.00% 2 Missing ⚠️
src/constraints/specifications/constraints.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #381      +/-   ##
==========================================
- Coverage   62.40%   62.34%   -0.07%     
==========================================
  Files         183      183              
  Lines        5940     5940              
==========================================
- Hits         3707     3703       -4     
- Misses       2233     2237       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/node.jl Outdated Show resolved Hide resolved
src/node.jl Outdated Show resolved Hide resolved
Copy link
Member

@bvdmitri bvdmitri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice @Raphael-Tresor , I spotted a couple of typos. The rest seems fine

Raphael-Tresor and others added 2 commits March 1, 2024 15:05
Co-authored-by: Bagaev Dmitry <bvdmitri@gmail.com>
Co-authored-by: Bagaev Dmitry <bvdmitri@gmail.com>
@Raphael-Tresor
Copy link
Contributor Author

Very nice @Raphael-Tresor , I spotted a couple of typos. The rest seems fine

Thanks for the review @bvdmitri , I committed your corrections.

Copy link
Member

@bvdmitri bvdmitri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Raphael-Tresor !

@bvdmitri bvdmitri merged commit d023367 into main Mar 6, 2024
3 of 5 checks passed
@bvdmitri bvdmitri deleted the fullFactorisation_new_name branch March 6, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants