Info: Zenodo’s user support line is staffed on regular business days between Dec 23 and Jan 5. Response times may be slightly longer than normal.

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

  • Fix for plotting due to new version of networkx. But the version should now be >= 2.7.1
  • Layout can now be changed more easily
  • figsize added as an input parameter which is more convenient than width/height.
import bnlearn as bn
df = bn.import_example('asia')
model = bn.structure_learning.fit(df)
# Plot
bn.plot(model)
# Plot with different layouts
bn.plot(model, params_static={'layout':'spectral_layout'})
bn.plot(model, params_static={'layout':'planar_layout'})
bn.plot(model, params_static={'layout':'kamada_kawai_layout'})
bn.plot(model, params_static={'layout':'spring_layout'})
bn.plot(model, params_static={'layout':'circular_layout', "figsize": (15, 10)})

Notes

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

Files

erdogant/bnlearn-0.7.0.zip

Files (19.0 MB)

Name Size Download all
md5:c67ce42ece679682646875c7466e83e3
19.0 MB Preview Download

Additional details

Related works