Skip to content

Commit a01469f

Browse files
Merge pull request #99 from Digiratory/55-discussion-update-readme-to-clarify-installation-steps
55 update readme and documentation to clarify installation steps
2 parents b584aa9 + dce915a commit a01469f

6 files changed

Lines changed: 69 additions & 3 deletions

File tree

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,41 @@
88
<p align="center">An open-source application designed to facilitate feature dependency modeling and evaluation using Bayesian Networks.</p>
99
</p>
1010

11+
## User Guide
12+
13+
You can obtain user guides for BN Modeller application with the following link https://digiratory.github.io/bayes_model/. It covers various aspects of using BN Modeller, including data analysis workflows, best practices, and more.
14+
1115
## Instalation
1216

17+
### From sources
18+
19+
You can install this project from sources by cloning this repository and installing it using pip:
20+
21+
```bash
22+
git clone https://github.com/Digiratory/bayes_model.git && cd bayes_model
23+
pip install .
24+
```
25+
26+
### Using PyPI
27+
1328
You can install this project using pip:
1429

1530
```bash
1631
pip install bn_modeller
1732
```
1833

19-
or can download the latest Windows executable from the [BN Modeller GitHub Releases page](https://github.com/Digiratory/bayes_model/releases).
34+
### Using executable file (windows only)
35+
36+
You can download the latest Windows executable from the [BN Modeller GitHub Releases page](https://github.com/Digiratory/bayes_model/releases).
2037

2138
### Graphviz
2239

23-
A Graphviz error could arise. To solve the problem add the Graphviz executables on your systems' PATH as follows:
40+
A Graphviz error could arise. To solve the problem install and add the Graphviz executables on your systems' PATH as follows:
41+
42+
<details>
43+
<summary>
44+
Windows
45+
</summary>
2446

2547
1. Install windows package from: <https://graphviz.org/download/> (Linux and Mac instructions can be found here as well)
2648
2. Install python graphviz package
@@ -39,6 +61,19 @@ environment variables.
3961

4062
<https://pygraphviz.github.io/documentation/stable/install.html>
4163

64+
</details>
65+
66+
<details>
67+
<summary>
68+
Linux
69+
</summary>
70+
71+
```bash
72+
sudo apt-get update && sudo apt-get install graphviz graphviz-dev
73+
```
74+
75+
</details>
76+
4277
## Launch Application
4378

4479
To launch the application installed with `pip`, run:

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
layout: default
3+
title: Bayesian Networks Modeler
4+
nav_order: 1
35
---
46

57
# Bayesian Networks Modeler
@@ -25,7 +27,7 @@ BN Modeller provides a comprehensive suite of tools designed to facilitate the c
2527

2628
* **Data Import:** BN Modeller supports the import of datasets from common file formats, including CSV (Comma Separated Values) and Excel spreadsheets. This allows you to easily incorporate your existing data into the application for analysis.
2729
* **Project-Based Data Management:** To streamline your research, BN Modeller utilizes a project-based system. This allows you to organize and manage multiple datasets within a single project, preserving the state of your work and facilitating easy switching between different analyses.
28-
* **Bayesian Network Construction via Correlation Coefficients:** BN Modeller allows you to build and visualize Bayesian Networks based on statistical correlation measures. Specifically, you can utilize Pearson's correlation coefficient (measuring linear relationships), Spearman's rank correlation coefficient (measuring monotonic relationships), or partial correlation coefficients (accounting for the influence of other variables). A brief explanation of correlation coefficients is provided on the page [Understanding Correlation](./understanding-correlation.html).
30+
* **Bayesian Network Construction via Correlation Coefficients:** BN Modeller allows you to build and visualize Bayesian Networks based on statistical correlation measures. Specifically, you can utilize Pearson's correlation coefficient (measuring linear relationships), Spearman's rank correlation coefficient (measuring monotonic relationships), or partial correlation coefficients (accounting for the influence of other variables). A brief explanation of correlation coefficients is provided on the page [Understanding Correlation](./user-guide/understanding-correlation.html).
2931
* **Correlation Evaluation:** The application provides tools to evaluate the strength and significance of correlations between variables. This allows you to identify potential dependencies and inform the structure of your Bayesian Network.
3032
* **Manual Dependency Specification:** While BN Modeller can suggest potential dependencies based on correlation analysis, you retain full control over the network structure. You can manually select and specify the dependencies between variables, allowing you to incorporate domain expertise and refine the model.
3133
* **Bayesian Network Visualization and Export:** BN Modeller allows you to export your constructed Bayesian Networks as image files in various formats, including PNG and SVG. This enables you to easily share your findings and incorporate the visualizations into reports and presentations.

docs/user-guide/data-analysis-workflow.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Data Analysis Workflow
3+
parent: User Guide - Welcome!
4+
nav_order: 1
5+
---
6+
17
# Data Analysis Workflow
28

39
After loading your data into BN Modeller, you can proceed with data analysis and model building. This section outlines the steps involved in this process.

docs/user-guide/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
layout: default
3+
title: User Guide - Welcome!
4+
nav_order: 2
5+
---
6+
17
# User Guide - Welcome!
28

39
This User Guide provides comprehensive instructions and explanations for using BN Modeller. Whether you're a novice or an experienced Bayesian network modeler, this guide will help you leverage the software's features to build, analyze, and visualize your networks.

docs/understanding-correlation.md renamed to docs/user-guide/understanding-correlation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Understanding Correlation Coefficients
3+
parent: User Guide - Welcome!
4+
nav_order: 2
5+
---
6+
17
# Understanding Correlation Coefficients
28

39
BN Modeller utilizes several correlation coefficients to help you identify potential dependencies between variables when constructing Bayesian Networks. Here's a brief explanation of each:

docs/whatsnew.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
title: What's New?
4+
nav_order: 3
5+
---
6+
7+
# What's New?
8+
9+
## [Version 1.0.0](https://github.com/Digiratory/bayes_model/releases/tag/release%2F1.0.0) - Initial Release
10+
11+
Date: 12 may 2025

0 commit comments

Comments
 (0)