Skip to content

Major changes and updates to AlgebraicStatistics #5228

Merged
micjoswig merged 647 commits intooscar-system:masterfrom
bkholler:alg-stats-1.0
Nov 24, 2025
Merged

Major changes and updates to AlgebraicStatistics #5228
micjoswig merged 647 commits intooscar-system:masterfrom
bkholler:alg-stats-1.0

Conversation

@antonydellavecchia
Copy link
Copy Markdown
Collaborator

@antonydellavecchia antonydellavecchia commented Aug 21, 2025

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).

@antonydellavecchia antonydellavecchia added experimental Only changes experimental parts of the code release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Aug 21, 2025
@lgoettgens lgoettgens removed the experimental Only changes experimental parts of the code label Aug 21, 2025
@antonydellavecchia
Copy link
Copy Markdown
Collaborator Author

Data for small phylogenetic trees and loading them will appear in a separate pr.
The current WIP can be found in the branch adv/phylo-tree-data

@antonydellavecchia antonydellavecchia added experimental Only changes experimental parts of the code and removed experimental Only changes experimental parts of the code labels Aug 21, 2025
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
Comment thread experimental/AlgebraicStatistics/src/PhylogeneticModels.jl Outdated
@antonydellavecchia antonydellavecchia added topic: combinatorics and removed experimental Only changes experimental parts of the code labels Nov 21, 2025
Comment thread docs/src/Combinatorics/graphs.md Outdated
Comment thread docs/src/Combinatorics/graphs.md Outdated
Comment thread docs/src/Combinatorics/phylogenetic_trees.md Outdated
Comment thread docs/src/Combinatorics/graphs.md Outdated
Copy link
Copy Markdown
Member

@micjoswig micjoswig left a comment

Choose a reason for hiding this comment

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

Seems good to go to me.

@micjoswig micjoswig merged commit ad7e39a into oscar-system:master Nov 24, 2025
38 of 39 checks passed
@antonydellavecchia antonydellavecchia added release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes and removed release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Nov 24, 2025
@antonydellavecchia antonydellavecchia changed the title Overhaul of Algebraic Statistics Major changes and updates to AlgebraicStatistics Nov 24, 2025
@antonydellavecchia antonydellavecchia removed the release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes label Nov 24, 2025
@fingolfin
Copy link
Copy Markdown
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.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: combinatorics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants