Major changes and updates to AlgebraicStatistics #5228
Merged
micjoswig merged 647 commits intooscar-system:masterfrom Nov 24, 2025
Merged
Major changes and updates to AlgebraicStatistics #5228micjoswig merged 647 commits intooscar-system:masterfrom
micjoswig merged 647 commits intooscar-system:masterfrom
Conversation
Collaborator
Author
|
Data for small phylogenetic trees and loading them will appear in a separate pr. |
…v/phylo-tree-in-model
Co-authored-by: Benjamin Lorenz <benlorenz@users.noreply.github.com>
benlorenz
reviewed
Nov 21, 2025
Co-authored-by: Benjamin Lorenz <benlorenz@users.noreply.github.com>
Member
|
@micjoswig @antonydellavecchia thank you for working on this and getting it in! One minor technical nitpick: when doing a squash merge, it is often a good idea to consider cleaning out the commit description generated by GitHub, esp. if there were a lot of commits involved -- in this case, it generated a 492 line commit message most of which is effectively garbage (titles of working commits etc.). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently there are still things to be done, but seeing as this pull request will be large I think it makes sense to get people's eyes on the changes earlier rather than later.
The main idea for the changes are that there are three (and a half) main types of graphical models and they are all subtypes of the abstract type
GraphicalModel.We introduce these types as being parametrized by their underlying graphs, but also the labels of the graph.
In this way functions can be overloaded when the graphs have certain labelings, this leads to less code duplication since users looking to extend functionality for their particular graph labelings need only overload the functions that require changes while still having access to the generic pipeline (eventually ended at taking the vanishing ideal).