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

Adding Graphical Models in Experimental #3621

Closed
wants to merge 79 commits into from

Conversation

marinagarrote
Copy link
Contributor

Initial draft pull request for working with algebraic phylogenetics and graphical models

Marina Garrote López and others added 30 commits March 15, 2024 17:04
Marina's Code and my Code combined.
Copy link
Member

@lgoettgens lgoettgens left a comment

Choose a reason for hiding this comment

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

I found some minor issues

experimental/GraphicalModels/docs/src/graphicalmodels.md Outdated Show resolved Hide resolved
experimental/GraphicalModels/docs/src/graphicalmodels.md Outdated Show resolved Hide resolved
Comment on lines 124 to 127
julia> pm = jukes_cantor_model(graph_from_edges(Directed,[[4,1],[4,2],[4,3]]));
julia> sum_equivalent_classes(pm)

Dict{Vector{Tuple{Int64, Int64, Int64}}, QQMPolyRingElem} with 5 entries:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
julia> pm = jukes_cantor_model(graph_from_edges(Directed,[[4,1],[4,2],[4,3]]));
julia> sum_equivalent_classes(pm)
Dict{Vector{Tuple{Int64, Int64, Int64}}, QQMPolyRingElem} with 5 entries:
julia> pm = jukes_cantor_model(graph_from_edges(Directed,[[4,1],[4,2],[4,3]]));
julia> sum_equivalent_classes(pm)
Dict{Vector{Tuple{Int64, Int64, Int64}}, QQMPolyRingElem} with 5 entries:

wrong whitespace will make the doctest fail (similar at many other places)

Copy link

codecov bot commented May 21, 2024

Codecov Report

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

Project coverage is 81.26%. Comparing base (5acd5c5) to head (2352491).
Report is 231 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3621      +/-   ##
==========================================
- Coverage   82.18%   81.26%   -0.92%     
==========================================
  Files         563      584      +21     
  Lines       75862    79461    +3599     
==========================================
+ Hits        62345    64577    +2232     
- Misses      13517    14884    +1367     
Files Coverage Δ
...rimental/GraphicalModels/src/PhylogeneticModels.jl 100.00% <100.00%> (ø)
experimental/GraphicalModels/test/runtests.jl 100.00% <100.00%> (ø)
...GraphicalModels/src/PhylogeneticParametrization.jl 96.80% <96.80%> (ø)
...ental/GraphicalModels/src/PhylogeneticAuxiliary.jl 61.70% <61.70%> (ø)

... and 308 files with indirect coverage changes

@marinagarrote
Copy link
Contributor Author

Merged into new pull request Algebraic Statistics #3812

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Only changes experimental parts of the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants