There is a newer version of the record available.

Published January 2, 2020 | Version 0.3.22
Software Open

bnlearn - Library for Bayesian network learning and inference

Description

  • implementation of bnlearn.independence_test functionality 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

If you use this software, please cite it using these metadata.

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