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

Added DistributionBayesianNetwork #96

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

regislebrun
Copy link
Member

This class allows to create and manipulate general continuous bayesian networks given a DAG and a set of distributions for each node. For nodes without parents, the distribution is its marginal distribution, for the other nodes it is a way to define the conditional distribution of the node given its parents.

@regislebrun regislebrun marked this pull request as draft June 17, 2024 15:11
This class allows to create and manipulate general continuous bayesian networks given a DAG and a set of distributions for each node. For nodes without parents, the distribution is its marginal distribution, for the other nodes it is a way to define the conditional distribution of the node given its parents.
extracted. The scope of each copula is the node and its parents.

Available constructor:
DistributionBayesianNetwork(*dag, marginals, copulas*)
Copy link
Member

Choose a reason for hiding this comment

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

This can be dropped as there is only 1 ctor (its incorrect anyway)


using OT::ContinuousDistribution::getMarginal;
OT::Distribution getMarginal(const OT::UnsignedInteger i) const override;

Copy link
Member

Choose a reason for hiding this comment

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

getparameter/setParameter/getParameterDescription accessors are missing

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