Skip to main content

A program to represents a set of variables and their conditional dependencies via a directed acyclic graph.

Project description

GitHub Release GitHub Issues or Pull Requests GitHub Downloads (all assets, all releases) PyPI - Downloads

BN Modeller

An open-source application designed to facilitate feature dependency modeling and evaluation using Bayesian Networks.

Instalation

You can install this project using pip:

pip install bn_modeller

or can download the latest Windows executable from the BN Modeller GitHub Releases page.

Graphviz

A Graphviz error could arise. To solve the problem add the Graphviz executables on your systems' PATH as follows:

  1. Install windows package from: https://graphviz.org/download/ (Linux and Mac instructions can be found here as well)
  2. Install python graphviz package
  3. Press the Windows key
  4. Type in the search box: edit environment variables for your account
  5. Select Path
  6. Click Edit… button
  7. Click New
  8. Add 'bin' folder to User path in environment variables manager (e.g: C:\Program Files (x86)\Graphviz2.38\bin)
  9. Add location dot.exe to System Path (e.g: C:\Program Files (x86)\Graphviz2.38\bin\dot.exe)
  10. Click OK and OK again

Once have done that, restart your python IDE (if it is open). If this was running in a CMD prompt (e.g. Anaconda Command prompt), restart this prompt as well to make sure the prompt finds the new environment variables.

https://pygraphviz.github.io/documentation/stable/install.html

Launch Application

To launch the application installed with pip, run:

bn_modeller

If you have downloaded BN Modeller using the Windows executable, simply double-click the bn_modeller.exe file located in the directory.

Build

Build Executable file for Windows

  1. Install pyinstaller
  2. Execute the following command:
pyinstaller --onefile --add-data="./bn_modeller/resources/templates/*:./bn_modeller/resources/templates/" --add-data="./bn_modeller/resources/icon.ico:./bn_modeller/resources/icon.ico" --icon=./bn_modeller/resources/icon.ico --name=bn_modeller.exe --windowed ./bn_modeller/app.py

Troubleshooting

High storage utilization on Windows 10/11

This high storage utilization probably caused by WindowsSearch Engine. To mitigate the problem you should disable the indexing of content for .sqlite files as following.

  1. Press Win to open Start Menu and type in Index.
  2. Click on Indexing Options.
  3. On this next screen, hit Advanced > (Tab) File Types. For extention .sqlite select "Index Properties Only".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bn_modeller-0.0.8.tar.gz (94.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bn_modeller-0.0.8-py3-none-any.whl (112.5 kB view details)

Uploaded Python 3

File details

Details for the file bn_modeller-0.0.8.tar.gz.

File metadata

  • Download URL: bn_modeller-0.0.8.tar.gz
  • Upload date:
  • Size: 94.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bn_modeller-0.0.8.tar.gz
Algorithm Hash digest
SHA256 acee9d48566e2943882f07a4734c54b5c2f5ee1e6f1cb9af7ec03a420e6b4d16
MD5 f806e38770f2f5b808d989a19e406fb1
BLAKE2b-256 7bf7c743e30d387928beb93910764c2f0f4dd1ae5ebb49ca58e1509513e8ae24

See more details on using hashes here.

Provenance

The following attestation bundles were made for bn_modeller-0.0.8.tar.gz:

Publisher: python-publish.yml on Digiratory/bayes_model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bn_modeller-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: bn_modeller-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 112.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bn_modeller-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c30d5b05e780fecfeae757e5fa4de1cc98a9f32473467e8084d29f8b09161485
MD5 46fe78015c46f5a67cd4faa1895b35ef
BLAKE2b-256 f7e19d43a97b998c4bd210e189edd88b49e9a2810afde914fa5169d3f9cd900f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bn_modeller-0.0.8-py3-none-any.whl:

Publisher: python-publish.yml on Digiratory/bayes_model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page