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

Clean docs #138

Merged
merged 3 commits into from
Jun 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ TikzPictures.save(SVG("plot1"), plot)

## Conditional Probability Distributions

Conditional Probablity Distributions, $P(x_i \mid \text{parents}(x_i))$, are defined in BayesNets.CPDs. Each CPD knows its own name, the names of its parents, and is associated with a distribution from Distributions.jl.
Conditional Probability Distributions, $P(x_i \mid \text{parents}(x_i))$, are defined in BayesNets.CPDs. Each CPD knows its own name, the names of its parents, and is associated with a distribution from Distributions.jl.

| `CPDForm` | Description |
| ------------------------------ | ----------- |
| `StaticCPD` | Any `Distributions.distribution`; indepedent of any parents |
| `StaticCPD` | Any `Distributions.distribution`; independent of any parents |
| `FunctionalCPD` | Allows for a CPD defined with a custom eval function |
| `ParentFunctionalCPD` | Modification to `FunctionalCPD` allowing the parent values to be passed in |
| `CategoricalCPD` | Categorical distribution, assumes integer parents in $1:N$ |
Expand Down