{"id":35231443,"url":"https://github.com/pglpm/inferno","last_synced_at":"2026-03-27T02:43:57.057Z","repository":{"id":129705489,"uuid":"382830602","full_name":"pglpm/inferno","owner":"pglpm","description":"R-package development for \"Bayesian nonparametric inference\". In other words, just the direct application of probability theory to get the most general, principled, model-free inference we can have.","archived":false,"fork":false,"pushed_at":"2026-03-09T16:40:12.000Z","size":4287768,"stargazers_count":6,"open_issues_count":10,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-03-09T21:52:45.205Z","etag":null,"topics":["bayesian","exchangeability","nonparametric-density-inference","nonparametric-inference","population-inference","probability-theory","r","rstats","rstats-package","statistics"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pglpm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-04T11:07:26.000Z","updated_at":"2026-03-09T16:36:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"281f4c99-0e43-468d-a906-afe775260368","html_url":"https://github.com/pglpm/inferno","commit_stats":null,"previous_names":["pglpm/inferno","pglpm/bayes_nonparametric_inference"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/pglpm/inferno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pglpm%2Finferno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pglpm%2Finferno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pglpm%2Finferno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pglpm%2Finferno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pglpm","download_url":"https://codeload.github.com/pglpm/inferno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pglpm%2Finferno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31011777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T02:33:22.146Z","status":"ssl_error","status_checked_at":"2026-03-27T02:33:21.763Z","response_time":164,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","exchangeability","nonparametric-density-inference","nonparametric-inference","population-inference","probability-theory","r","rstats","rstats-package","statistics"],"created_at":"2025-12-30T02:40:23.733Z","updated_at":"2026-03-27T02:43:57.050Z","avatar_url":"https://github.com/pglpm.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":".\u003cimg src=\"https://github.com/pglpm/inferno/raw/main/development/manual/inferno_symbol.png\" alt=\"Ensemble of densities\" width=\"100%\"/\u003e\n\n# inferno: ***infer***ence in ***R*** with Bayesian ***no***nparametrics\n\n----\n\n### NOTE: \n\nat the moment there's a bug that doesn't allow Nimble v1.4.0 to be used. Please either use Nimble v1.3.0 or the patched version from GitHub:\n\n```\nremove.packages('nimble')\nlibrary(remotes)\nremotes::install_github('nimble-dev/nimble', ref = 'conj_sizes_fix', subdir = 'packages/nimble')\n```\n\n----\n\n\nThis repository provides an R package and some theoretical background for *Bayesian nonparametric population inference*, which can also be called \"inference under exchangeability\" or \"density inference\". The package is especially apt for the study of statistics and associations of subpopulations or subgroups. The [introductory vignette](https://pglpm.github.io/inferno/articles/inferno_start.html) explains with an example the main ideas and functions, in particular for researchers who are more familiar with traditional \"frequentist\" statistics but would like to try the Bayesian approach; see the [post](https://www.apadivisions.org/division-7/publications/newsletters/developmental/2018/07/bayesian-statistics) by Barbara W. Sarnecka, frequentist statistician turned Bayesian, for a brilliant overview of the Bayesian advantages.\n\nThe package is under development and has not yet reached a stable phase: function names and arguments may still change, new functions will be added. More tutorials will be prepared. Also the package name is still under consideration.\n\nBut the core functionalities do work, and have been tested in concrete research questions; see [example applications](#example-applications) below.\n\nThe package internally does the computations necessary for Bayesian inference by means of Monte Carlo methods, thanks to the R package [**Nimble**](https://r-nimble.org/). Users unfamiliar with Monte Carlo methods don't have to worry, because the computations are handled automatically. Users familiar with Monte Carlo methods can easily have access to computational details and can even change some of the computation hyperparameters.\n\nIf you want to test the package we'd be very happy to help in resolving possible issues and in understanding the functionalities.\n\n## Installation\n\nYou need to have the package [**Nimble**](https://r-nimble.org/) installed. Please follow its [installation instructions](https://r-nimble.org/manual/cha-installing-nimble.html) for your operating system.\n\nYou can then install **inferno** in R by using the `remotes` package:\n```\nremotes::install_github('pglpm/inferno')\n```\n\nTo install a tagged version:\n```\nremotes::install_github('pglpm/inferno@vx.y.z')\n```\n\nTo install from source, first clone the repo:\n```\ngit clone https://github.com/pglpm/inferno.git\n```\n\nthen install the package in R:\n\n```\ninstall.packages(pkgs='path/to/inferno', repos=NULL)\n```\n\nthe installation will also automatically install all required R-dependencies.\n\n\n## Documentation\n\nThe vignette [*Bayesian nonparametric inference with **inferno***](https://pglpm.github.io/inferno/articles/inferno_start.html) is a step-by-step introduction to **inferno** and also to Bayesian nonparametrics. It guides you through a concrete example with various kinds of inferences. You may also try to follow it using a dataset of your own.\n\nOther tutorials, still drafts, are available at [pglpm.github.io/inferno](https://pglpm.github.io/inferno)\n\nA summary of the theoretical foundations, including further references, is available in [this draft](https://github.com/pglpm/inferno/raw/main/development/manual/optimal_predictor_machine.pdf). The main idea for the internal mathematical representation comes from [Dunson \u0026 Bhattacharya](https://doi.org/10.1093/acprof:oso/9780199694587.003.0005) and [Ishwaran \u0026 Zarepour](https://doi.org/10.2307/3315951).\n\nFor a low-level course on Bayesian nonparametric inference and Decision Theory see [Foundations of data science](https://pglpm.github.io/ADA511).\n\n\n## *inferno* App\nAn application has been built upon ***inferno***. This app can be used for testing out the features of ***inferno*** with just a few button clicks, without having to write any code in R yourself.\n\n### Desktop Application\n* Currently available for Windows and MacOS. Download and install the desktop application by following this: [Installation Guide](https://github.com/h587916/Inferno-App/releases/tag/1.0.2).\n\n### Cross-Platform Open Source Version\n* For Windows, macOS, and Linux, you can run the PySide6 app locally using Python by following this: [Setup Guide](https://github.com/h587916/Inferno-App?tab=readme-ov-file#inferno-app).\n\n## Example applications\n\n- [*Personalized prognosis \u0026 treatment using an optimal predictor machine: An example study on conversion from Mild Cognitive Impairment to Alzheimer's Disease*](https://doi.org/10.31219/osf.io/8nr56).\n\n- [*Don't guess what's true: choose what's optimal. A probability transducer for machine-learning classifiers*](https://doi.org/10.31219/osf.io/vct9y)\n\n- [*Does the evaluation stand up to evaluation? A first-principle approach to the evaluation of classifiers*](https://doi.org/10.31219/osf.io/7rz8t)\n\n- [*Calibrated and uncertain? Evaluating uncertainty estimates in\nbinary classification models*](https://doi.org/10.1088/2632-2153/ae45ed)\n\n\nProjects using ***inferno***:\n\n- [InfernoCalibNet](https://m4siko.github.io/InfernoCalibNet).\n- [parkinsonbayes](https://github.com/pglpm/parkinsonbayes).\n\n\n\n## Contact\n\nPlease report bugs and request features or specific documentation on [GitHub Issues](https://github.com/pglpm/inferno/issues).\nIf you have other questions about application, theory, technical implementation, feel free to contact Luca \u003cpglXYZ@portamanaXYZ.org\u003e (remove 'XYZ' for anti-spam purposes).\n\n\n## Disclaimer\n\nNo large language models were used in the production of this software and of its documents.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpglpm%2Finferno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpglpm%2Finferno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpglpm%2Finferno/lists"}