From b6607524b8bb494444b0d343de07fdb03f76d152 Mon Sep 17 00:00:00 2001 From: Varuna Jayasiri Date: Sat, 21 Aug 2021 10:25:32 +0530 Subject: [PATCH] Evidential Deep Learning to Quantify Classification Uncertainty (#85) --- docs/index.html | 8 +- docs/normalization/batch_norm/mnist.html | 13 +- docs/papers.json | 3 + docs/sitemap.xml | 25 +- docs/uncertainty/evidence/experiment.html | 867 ++++++++++++++++++++ docs/uncertainty/evidence/index.html | 798 ++++++++++++++++++ docs/uncertainty/evidence/readme.html | 144 ++++ docs/uncertainty/index.html | 143 ++++ docs/uncertainty/readme.html | 143 ++++ labml_nn/__init__.py | 8 +- labml_nn/normalization/batch_norm/mnist.py | 5 +- labml_nn/uncertainty/__init__.py | 13 + labml_nn/uncertainty/evidence/__init__.py | 315 +++++++ labml_nn/uncertainty/evidence/experiment.py | 225 +++++ labml_nn/uncertainty/evidence/readme.md | 8 + labml_nn/uncertainty/readme.md | 5 + readme.md | 4 + requirements.txt | 4 +- setup.py | 6 +- 19 files changed, 2720 insertions(+), 17 deletions(-) create mode 100644 docs/uncertainty/evidence/experiment.html create mode 100644 docs/uncertainty/evidence/index.html create mode 100644 docs/uncertainty/evidence/readme.html create mode 100644 docs/uncertainty/index.html create mode 100644 docs/uncertainty/readme.html create mode 100644 labml_nn/uncertainty/__init__.py create mode 100644 labml_nn/uncertainty/evidence/__init__.py create mode 100644 labml_nn/uncertainty/evidence/experiment.py create mode 100644 labml_nn/uncertainty/evidence/readme.md create mode 100644 labml_nn/uncertainty/readme.md diff --git a/docs/index.html b/docs/index.html index c69dad4a..fd599532 100644 --- a/docs/index.html +++ b/docs/index.html @@ -154,15 +154,19 @@ implementations.

+

Uncertainty

+

Installation

pip install labml-nn
 

Citing LabML

-

If you use LabML for academic research, please cite the library using the following BibTeX entry.

+

If you use this for academic research, please cite it using the following BibTeX entry.

@misc{labml,
  author = {Varuna Jayasiri, Nipun Wijerathne},
- title = {LabML: A library to organize machine learning experiments},
+ title = {labml.ai Annotated Paper Implementations},
  year = {2020},
  url = {https://nn.labml.ai/},
 }
diff --git a/docs/normalization/batch_norm/mnist.html b/docs/normalization/batch_norm/mnist.html
index c283324e..af6cd318 100644
--- a/docs/normalization/batch_norm/mnist.html
+++ b/docs/normalization/batch_norm/mnist.html
@@ -268,7 +268,10 @@ and set a new function to calculate the model.

Load configurations

-
75    experiment.configs(conf, {'optimizer.optimizer': 'Adam'})
+
75    experiment.configs(conf, {
+76        'optimizer.optimizer': 'Adam',
+77        'optimizer.learning_rate': 0.001,
+78    })
@@ -279,8 +282,8 @@ and set a new function to calculate the model.

Start the experiment and run the training loop

-
77    with experiment.start():
-78        conf.run()
+
80    with experiment.start():
+81        conf.run()
@@ -291,8 +294,8 @@ and set a new function to calculate the model.

-
82if __name__ == '__main__':
-83    main()
+
85if __name__ == '__main__':
+86    main()