{"id":16599993,"url":"https://github.com/dirmeier/bayesian-networks-introduction","last_synced_at":"2025-04-15T16:59:53.546Z","repository":{"id":133194717,"uuid":"233582477","full_name":"dirmeier/bayesian-networks-introduction","owner":"dirmeier","description":":bar_chart: Introduction to Bayesian Networks.","archived":false,"fork":false,"pushed_at":"2020-01-17T19:32:41.000Z","size":11961,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T16:59:49.807Z","etag":null,"topics":["bayesian-networks","tutorial"],"latest_commit_sha":null,"homepage":"https://dirmeier.github.io/bayesian-networks-introduction/index.html","language":"R","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirmeier.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-13T11:42:18.000Z","updated_at":"2023-03-25T10:16:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"a46d0376-1f58-4b83-9569-07997d406a85","html_url":"https://github.com/dirmeier/bayesian-networks-introduction","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirmeier%2Fbayesian-networks-introduction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirmeier%2Fbayesian-networks-introduction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirmeier%2Fbayesian-networks-introduction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirmeier%2Fbayesian-networks-introduction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirmeier","download_url":"https://codeload.github.com/dirmeier/bayesian-networks-introduction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249116231,"owners_count":21215142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayesian-networks","tutorial"],"created_at":"2024-10-12T00:13:14.403Z","updated_at":"2025-04-15T16:59:53.540Z","avatar_url":"https://github.com/dirmeier.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: md_document\n---\n\n# Introduction to Bayesian networks in R\n\n[![status](https://www.repostatus.org/badges/latest/concept.svg)](https://www.repostatus.org/#concept)\n\n## About\n\nThis repository contains a practical introduction to *Bayesian networks* in `R`  using `bnlearn` for teaching of a one-hour course.\n\n```{r plot, echo=FALSE, message=FALSE, warning=FALSE, fig.align = \"center\", fig.width=7, fig.height=4}\n\nlibrary(dagitty)\nlibrary(bnlearn)\nsource(file.path(here::here(), \"R\", \"_plot_boostrapped_graph.R\"))\n\nsignalling.data \u003c- readRDS(\n  file.path(here::here(), \"data\", \"signalling_data.rds\"))\nboot.tabu \u003c- boot.strength(signalling.data, algorithm=\"tabu\")\nplot.bootstrapped(boot.tabu)\n```\n\n## Usage\n\nTo go through the `R` tutorials do the following:\n\n- download the latest zip-file [here](https://github.com/dirmeier/bayesian-networks-introduction/releases) and extract it,\n- open *Rstudio*,\n- click *File -\u003e Open Project* and select `bayesian-networks-introduction.Rproj`,\n- open `R/tutorial.R`,\n- execute the tutorial line by line.\n\n## Session info\n\n```{r, echo=FALSE}\nsessionInfo()\n```\n\n## Author\n\nSimon Dirmeier \u003ca href=\"mailto:simon.dirmeier@web.de\"\u003esimon.dirmeier @ web.de\u003c/a\u003e\n\n## License\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc/4.0/88x31.png\" /\u003e\u003c/a\u003e\u003cbr /\u003eThis work  is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc/4.0/\"\u003eCreative Commons Attribution-NonCommercial 4.0 International License\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirmeier%2Fbayesian-networks-introduction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirmeier%2Fbayesian-networks-introduction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirmeier%2Fbayesian-networks-introduction/lists"}