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

Fix typos #137

Merged
merged 1 commit into from
May 29, 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
Fix typos
  • Loading branch information
pitmonticone authored May 26, 2022
commit ed98265598a7fc8c55824dd27c6c94252aa11683
4 changes: 2 additions & 2 deletions docs/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ A whole suite of features are supported for DiscreteBayesNets. Here, we illustra
3. Obtain the factor table for a node
4. Obtain a factor table matching a particular assignment

We also detail obtaining a bayesian score for a network structure in the next section.
We also detail obtaining a Bayesian score for a network structure in the next section.

```@example bayesnet
count(bn, :a, data)
Expand Down Expand Up @@ -366,7 +366,7 @@ TikzPictures.save(SVG("plot10"), plot) # hide

## Bayesian Score for a Network Structure

The bayesian score for a discrete-valued BayesNet can can be calculated based only on the structure and data (the CPDs do not need to be defined beforehand). This is implemented with a method of ```bayesian_score``` that takes in a directed graph, the names of the nodes and data.
The Bayesian score for a discrete-valued BayesNet can be calculated based only on the structure and data (the CPDs do not need to be defined beforehand). This is implemented with a method of ```bayesian_score``` that takes in a directed graph, the names of the nodes and data.

```@example bayesnet
data = DataFrame(c=[1,1,1,1,2,2,2,2,3,3,3,3],
Expand Down