{"id":15789835,"url":"https://github.com/testingautomated-usi/uncertainty-wizard","last_synced_at":"2025-05-06T20:46:01.357Z","repository":{"id":38296266,"uuid":"320983835","full_name":"testingautomated-usi/uncertainty-wizard","owner":"testingautomated-usi","description":"Uncertainty-Wizard is a plugin on top of tensorflow.keras, allowing to easily and efficiently create uncertainty-aware deep neural networks. Also useful if you want to train multiple small models in parallel.","archived":false,"fork":false,"pushed_at":"2023-05-24T21:58:17.000Z","size":430,"stargazers_count":45,"open_issues_count":7,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T04:25:20.000Z","etag":null,"topics":["keras","keras-tensorflow","testing","uncertainty","uncertainty-neural-networks","uncertainty-quantification"],"latest_commit_sha":null,"homepage":"https://uncertainty-wizard.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/testingautomated-usi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-13T04:33:38.000Z","updated_at":"2024-11-22T12:30:02.000Z","dependencies_parsed_at":"2023-07-13T03:56:00.529Z","dependency_job_id":null,"html_url":"https://github.com/testingautomated-usi/uncertainty-wizard","commit_stats":null,"previous_names":["testingautomated-usi/uncertainty_wizard"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingautomated-usi%2Funcertainty-wizard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingautomated-usi%2Funcertainty-wizard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingautomated-usi%2Funcertainty-wizard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingautomated-usi%2Funcertainty-wizard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testingautomated-usi","download_url":"https://codeload.github.com/testingautomated-usi/uncertainty-wizard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252769129,"owners_count":21801373,"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":["keras","keras-tensorflow","testing","uncertainty","uncertainty-neural-networks","uncertainty-quantification"],"created_at":"2024-10-04T22:03:54.002Z","updated_at":"2025-05-06T20:46:01.330Z","avatar_url":"https://github.com/testingautomated-usi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![UNCERTAINTY WIZARD](https://github.com/testingautomated-usi/uncertainty-wizard/raw/main/docs/uwiz_logo.PNG)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://black.readthedocs.io/en/stable/\" alt=\"Code Style: Black\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://choosealicense.com/licenses/mit/\" alt=\"License: MIT\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/HunterMcGushion/docstr_coverage\" alt=\"Docstr-Coverage: 100%\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/docstr--coverage-100%25-brightgreen.svg\" /\u003e\u003c/a\u003e\n    \u003cimg src=\"https://github.com/testingautomated-usi/uncertainty-wizard/workflows/Unit%20Tests/badge.svg\" /\u003e\n    \u003ca href='https://uncertainty-wizard.readthedocs.io/en/latest/?badge=latest'\u003e\n        \u003cimg src='https://readthedocs.org/projects/uncertainty-wizard/badge/?version=latest' alt='Documentation Status' /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/testingautomated-usi/uncertainty-wizard\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/testingautomated-usi/uncertainty-wizard/branch/main/graph/badge.svg?token=TWV2TCRE3E\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/uncertainty-wizard/\"\u003e\n        \u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/uncertainty-wizard\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://doi.org/10.5281/zenodo.7646373\"\u003e\u003cimg src=\"https://zenodo.org/badge/DOI/10.5281/zenodo.7646373.svg\" alt=\"DOI\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" style=\"  height: 40px;  line-height: 40px\"\u003e\n    \u003cimg src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f389.png\" height=40px/\u003e\n    \u003cimg src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f947.png\" height=40px/\u003e\n    Best Paper Award at ICST 2021 - Testing Tool Track\n    \u003cimg src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f947.png\" height=40px/\u003e\n    \u003cimg src=\"https://github.githubassets.com/images/icons/emoji/unicode/1f389.png\" height=40px/\u003e\n\u003c/p\u003e\n\nUncertainty wizard is a plugin on top of `tensorflow.keras`,\n allowing to easily and efficiently create uncertainty-aware deep neural networks:\n\n* Plain Keras Syntax: Use the layers and APIs you know and love.\n* Conversion from keras: Convert existing keras models into uncertainty aware models.\n* Smart Randomness: Use the same model for point predictions and sampling based inference.\n* Fast ensembles: Train and evaluate deep ensembles lazily loaded and using parallel processing - optionally on multiple GPUs.\n* Super easy setup: Pip installable. Only tensorflow as dependency.\n\n#### Installation\n\nIt's as easy as `pip install uncertainty-wizard`\n\n#### Requirements\n`uncertainty-wizard` is tested on python 3.8 and recent tensorflow versions. \nOther versions (python 3.6+ and tensorflow 2.3+) should mostly work as well, but may require some mild tweaks.\n\n\n#### Documentation\nOur documentation is deployed to\n[uncertainty-wizard.readthedocs.io](https://uncertainty-wizard.readthedocs.io/).\nIn addition, as uncertainty wizard has a 100% docstring coverage on public method and classes,\nyour IDE will be able to provide you with a good amount of docs out of the box.\n\nYou may also want to check out the technical tool paper [(preprint)](https://arxiv.org/abs/2101.00982),\ndescribing uncertainty wizard functionality and api as of version `v0.1.0`.\n\n#### Examples\nA set of small and easy examples, perfect to get started can be found in the \n[models user guide](https://uncertainty-wizard.readthedocs.io/en/latest/user_guide_models.html)\nand the [quantifiers user guide](https://uncertainty-wizard.readthedocs.io/en/latest/user_guide_quantifiers.html).\nLarger and examples are also provided - and you can run them in colab right away.\nYou can find them here: [Jupyter examples](https://uncertainty-wizard.readthedocs.io/en/latest/examples.html).\n\n#### Authors and Papers\n\u003c!--- Dont forget to update sphinx documentation when changing this paragraph --\u003e\nUncertainty wizard was developed by Michael Weiss and Paolo Tonella at USI (Lugano, Switzerland).\nIf you use it for your research, please cite these papers:\n\n    @inproceedings{Weiss2021FailSafe,  \n      title={Fail-safe execution of deep learning based systems through uncertainty monitoring},\n      author={Weiss, Michael and Tonella, Paolo},\n      booktitle={2021 14th IEEE Conference on Software Testing, Verification and Validation (ICST)},\n      pages={24--35},\n      year={2021},\n      organization={IEEE} \n    }  \n\n    @inproceedings{Weiss2021UncertaintyWizard,  \n      title={Uncertainty-wizard: Fast and user-friendly neural network uncertainty quantification},\n      author={Weiss, Michael and Tonella, Paolo},\n      booktitle={2021 14th IEEE Conference on Software Testing, Verification and Validation (ICST)},\n      pages={436--441},\n      year={2021},\n      organization={IEEE}\n    }  \n\nThe first paper [(preprint)](https://arxiv.org/abs/2102.00902) provides \nan empricial study comparing the approaches implemented in uncertainty wizard,\nand a list of lessons learned useful for reasearchers working with uncertainty wizard.\nThe second paper [(preprint)](https://arxiv.org/abs/2101.00982) is a technical tool paper,\n providing a more detailed discussion of uncertainty wizards api and implementation.\n\nReferences to the original work introducing the techniques implemented \nin uncertainty wizard are provided in the papers listed above.\n\n#### Contributing\nIssues and PRs are welcome! Before investing a lot of time for a PR, please open an issue first, describing your contribution.\nThis way, we can make sure that the contribution fits well into this repository.\nWe also mark issues which are great to start contributing as as [good first issues](https://github.com/testingautomated-usi/uncertainty-wizard/contribute).\nIf you want to implement an existing issue, don't forget to comment on it s.t. everyone knows that you are working on it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestingautomated-usi%2Funcertainty-wizard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestingautomated-usi%2Funcertainty-wizard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestingautomated-usi%2Funcertainty-wizard/lists"}