Skip to content

Multivariate distributions#14

Merged
tommyod merged 10 commits intomainfrom
multivariate
Aug 25, 2025
Merged

Multivariate distributions#14
tommyod merged 10 commits intomainfrom
multivariate

Conversation

@tommyod
Copy link
Collaborator

@tommyod tommyod commented Jul 2, 2025

No description provided.

@tommyod tommyod marked this pull request as draft July 2, 2025 11:46
@tommyod tommyod marked this pull request as ready for review August 25, 2025 08:52
@tommyod tommyod requested review from Copilot and dafeda August 25, 2025 08:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for multivariate distributions to the probabilistic modeling library. The implementation allows users to create multivariate distributions like Dirichlet and multivariate normal, which are automatically unpacked into marginal distributions for sampling.

  • Added MarginalDistribution class to handle individual dimensions of multivariate distributions
  • Added MultivariateDistribution factory function to create and unpack multivariate distributions into marginals
  • Enhanced Distribution._sample() method to handle multivariate distributions that lack .ppf() methods

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@tommyod tommyod merged commit 8f72e66 into main Aug 25, 2025
4 checks passed
@tommyod tommyod deleted the multivariate branch August 25, 2025 09:38
@tommyod tommyod review requested due to automatic review settings March 23, 2026 20:59
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.

2 participants