Directories
¶
| Path | Synopsis |
|---|---|
|
Command basic_bn demonstrates building a Bayesian network, adding CPDs, validating the model, and running a variable elimination query.
|
Command basic_bn demonstrates building a Bayesian network, adding CPDs, validating the model, and running a variable elimination query. |
|
Command bif_io demonstrates writing a Bayesian network to BIF format and reading it back, verifying the round-trip preserves structure and CPDs.
|
Command bif_io demonstrates writing a Bayesian network to BIF format and reading it back, verifying the round-trip preserves structure and CPDs. |
|
Command causal_inference demonstrates causal reasoning with a Bayesian network, showing the difference between observational P(Y|X=1) and interventional P(Y|do(X=1)) queries, and computing the ATE.
|
Command causal_inference demonstrates causal reasoning with a Bayesian network, showing the difference between observational P(Y|X=1) and interventional P(Y|do(X=1)) queries, and computing the ATE. |
|
Package datasets provides well-known Bayesian network datasets as embedded CSV data, comparable to pgmpy's built-in datasets.
|
Package datasets provides well-known Bayesian network datasets as embedded CSV data, comparable to pgmpy's built-in datasets. |
|
Command sampling demonstrates forward sampling and likelihood-weighted sampling from a Bayesian network, comparing empirical marginals with exact inference results.
|
Command sampling demonstrates forward sampling and likelihood-weighted sampling from a Bayesian network, comparing empirical marginals with exact inference results. |
|
Command structure_learning demonstrates learning a Bayesian network structure from synthetic data using HillClimbSearch with BIC scoring.
|
Command structure_learning demonstrates learning a Bayesian network structure from synthetic data using HillClimbSearch with BIC scoring. |
Click to show internal directories.
Click to hide internal directories.