Metadata-Version: 2.1
Name: bayesian-networks
Version: 0.5
Summary: Implementation for bayesian network with Enumeration, Rejection Sampling and Likelihood Weighting
Home-page: https://github.com/bkbilly/bayesian_networks
Author: bkbilly
Author-email: bkbilly@hotmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: pytz (>=2019.2)
Requires-Dist: matplotlib (==3.1.1)
Requires-Dist: networkx (>=2.4)

# Bayesian Networks

Implementation for bayesian network with 

  - Enumeration
  - Rejection Sampling
  - Likelihood Weighting

```python
{
    'netid': "burglary",
    'query': ('B', 'j,m'),
    'result': {True: 0.28, False: 0.72},
    'samples': 10000,
}
RejectionSampling().run(testcase)
LikelihoodWeighting().run(testcase)
Enumeration().run(testcase)
```


