aimclub / BAMT

Repository of a data modeling and analysis tool based on Bayesian networks
https://bamt.readthedocs.io
BSD 3-Clause "New" or "Revised" License
118 stars 17 forks source link

Display module #74

Closed Roman223 closed 1 year ago

Roman223 commented 1 year ago

Refactored: Display module was refactored. Now it is a separate module which plot graph and show network info.

Features: New features for networks: markov_blanket and find_family. Tests are also in PR. NOTE! Documentation will be updated later with big update.

Bug: Discrete node sometimes made a key argument for bn.distribution with error (It parsed a string in loop).

codecov-commenter commented 1 year ago

Codecov Report

Merging #74 (7b9bc0b) into master (2bfca54) will increase coverage by 0.47%. The diff coverage is 51.26%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
+ Coverage   66.93%   67.40%   +0.47%     
==========================================
  Files          39       41       +2     
  Lines        2658     2761     +103     
==========================================
+ Hits         1779     1861      +82     
- Misses        879      900      +21     
Files Changed Coverage Δ
bamt/builders/evo_builder.py 97.33% <ø> (ø)
bamt/display/display.py 23.75% <23.75%> (ø)
bamt/networks/base.py 53.62% <36.84%> (+4.57%) :arrow_up:
bamt/display/__init__.py 60.00% <60.00%> (ø)
bamt/utils/GraphUtils.py 93.33% <96.22%> (+4.14%) :arrow_up:
bamt/log.py 80.00% <100.00%> (+1.05%) :arrow_up:

... and 2 files with indirect coverage changes