Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 3 committers (33.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.9%) to scientific vocabulary
Last synced: 11 months ago
·
JSON representation
Repository
bnmonitor R package
Basic Info
- Host: GitHub
- Owner: manueleleonelli
- Language: R
- Default Branch: master
- Homepage: https://manueleleonelli.github.io/bnmonitor/
- Size: 6.76 MB
Statistics
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 6 years ago
· Last pushed almost 2 years ago
Metadata Files
Readme
Changelog
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# bnmonitor
[](https://cran.r-project.org/package=bnmonitor)
[](https://github.com/manueleleonelli/bnmonitor/commits/main)
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://shinyus.ipub.com/cranview/)
[](https://shinyus.ipub.com/cranview/)
`bnmonitor` is a package for sensitivity analysis and robustness in Bayesian networks (BNs). If you use the package in your work please consider citing it as
```{r}
citation("bnmonitor")
```
## Installation
The package `bnmonitor` can be installed from CRAN using the command
```{r warning = FALSE, message = FALSE, eval = F}
install.packages("bnmonitor")
```
and loaded in R with
```{r}
library(bnmonitor)
```
Note that `bnmonitor` requires the package `gRain` which, while on CRAN, depends on packages that are on Bioconductor both directly and through the `gRbase` package, which depends on `RBGL`:
```{r eval =F}
install.packages("BiocManager")
BiocManager::install(c("graph", "Rgraphviz", "RBGL"))
install.packages("gRain")
```
## Overview
`bnmonitor` provides a suite of function to investigate either a data-learnt or an expert elicited BN. Its functions can be classified into the following main areas:
- **Parametric sensitivity analysis**: Investigate the effect of changes in some of the parameter values in a Bayesian network and quantify the difference between the original and perturbed Bayesian networks using dissimilarity measures (both for discrete and Gaussian BNs).
- **Robustness to data**: Verify how well a Bayesian network fits a specific dataset that was used either for learning or for testing (only for discrete BNs).
- **Node influence**: Quantify how much the nodes of a Bayesian network influence an output node of interest (only for discrete BNs).
- **Edge strength**: Assess the strength of the edges of a Bayesian network (only for discrete BNs).
- **Other investigations**: Including the diameter of the conditional probability tables, measures of asymmetric independence, and level amalgamation.
Refer to the articles section for case studies showcasing the use of the `bnmonitor` functions.
## Papers where bnmonitor is used
- Görgen, C., & Leonelli, M. (2020). Model-preserving sensitivity analysis for families of Gaussian distributions. Journal of Machine Learning Research, 21(84), 1-32.
- Leonelli, M., & Riccomagno, E. (2022). A geometric characterization of sensitivity analysis in monomial models. International Journal of Approximate Reasoning, 151, 64-84.
- Leonelli, M., Ramanathan, R., & Wilkerson, R. L. (2023). Sensitivity and robustness analysis in Bayesian networks with the bnmonitor R package. Knowledge-Based Systems, 278, 110882.
- Leonelli, M., Smith, J. Q., & Wright, S. K. (2024). The diameter of a stochastic matrix: A new measure for sensitivity analysis in Bayesian networks. arXiv preprint arXiv:2407.04667.
Owner
- Name: Manuele Leonelli
- Login: manueleleonelli
- Kind: user
- Location: Madrid
- Company: IE University
- Website: manueleleonelli.github.io
- Twitter: manueleleonelli
- Repositories: 2
- Profile: https://github.com/manueleleonelli
Assistant Professor of Statistics working in Bayesian Statistics, Machine Learning and Probabilistic Graphical Models
GitHub Events
Total
Last Year
Committers
Last synced: almost 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Your name here | m****i@g****m | 106 |
| Manuele Leonelli | 3****i | 2 |
| MANUELE LEONELLI | M****i@i****u | 1 |
Committer Domains (Top 20 + Academic)
ie.edu: 1
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: 22 days
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 3.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: 1 day
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 4.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- vsocrates (1)
- FridolinHaag (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 357 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 8
- Total maintainers: 1
cran.r-project.org: bnmonitor
An Implementation of Sensitivity Analysis in Bayesian Networks
- Homepage: https://manueleleonelli.github.io/bnmonitor/
- Documentation: http://cran.r-project.org/web/packages/bnmonitor/bnmonitor.pdf
- License: GPL-3
-
Latest release: 0.2.2
published almost 2 years ago
Rankings
Stargazers count: 26.2%
Forks count: 28.8%
Dependent packages count: 29.8%
Average: 33.3%
Dependent repos count: 35.5%
Downloads: 46.4%
Maintainers (1)
Last synced:
12 months ago
Dependencies
DESCRIPTION
cran
- RColorBrewer * imports
- bnlearn * imports
- dplyr * imports
- gRain * imports
- gRbase * imports
- ggplot2 * imports
- graphics * imports
- purrr * imports
- qgraph * imports
- reshape2 * imports
- rlang * imports
- tidyr * imports
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action 4.1.4 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite