Published January 2, 2020
| Version 0.3.22
Software
Open
bnlearn - Library for Bayesian network learning and inference
Creators
Description
- implementation of
bnlearn.independence_testfunctionality that allows to compute edge strength - plots improved for the edge weights
- more pep styling
- some code refactoring
# Example:
# Load asia DAG
df = bn.import_example(data='sprinkler')
# Structure learning of sampled dataset
model = bn.structure_learning.fit(df)
# Compute edge strength with the chi_square test statistic. Set prune=True to remove the none-significant edges.
model = bn.independence_test(model, df, test='chi_square', prune=False)
# Make plot
bn.plot(model)
Notes
Files
erdogant/bnlearn-0.5.0.zip
Files
(7.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:77714eea584240008eab1bf8b8e2305f
|
7.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/erdogant/bnlearn/tree/0.5.0 (URL)