Design Space Exploration with Bayesian Networks
A Streamlit-based tool for designing and analyzing Bayesian networks with interactive visualization and probabilistic querying.
- Python 3.11 (due to dependency constraints with pgmpy and numpy/pandas)
git clone https://github.com/spinjet/bayesnet_tool
cd bayesnet_toolpip install .For development (editable mode):
pip install -e .Note: Ensure you have Python 3.11 installed and active before running the above commands.
Once the virtual environment is activated, start the Streamlit application:
streamlit run run.pyThe application will open in your default browser at http://localhost:8501.
- Data Loading: Import and preprocess CSV datasets
- Missing Data Management: Handle NaN values with configurable thresholds
- Structure Learning: Discover Bayesian network structure from data
- Discretisation: Convert continuous variables to discrete states
- Training: Learn network parameters from data
- Visualization: Interactive network graph with topological layout
- Probabilistic Queries: Calculate conditional probabilities and inferences