Book Image

Enhancing Deep Learning with Bayesian Inference

By : Matt Benatan, Jochem Gietema, Marian Schneider
Book Image

Enhancing Deep Learning with Bayesian Inference

By: Matt Benatan, Jochem Gietema, Marian Schneider

Overview of this book

Deep learning has an increasingly significant impact on our lives, from suggesting content to playing a key role in mission- and safety-critical applications. As the influence of these algorithms grows, so does the concern for the safety and robustness of the systems which rely on them. Simply put, typical deep learning methods do not know when they don’t know. The field of Bayesian Deep Learning contains a range of methods for approximate Bayesian inference with deep networks. These methods help to improve the robustness of deep learning systems as they tell us how confident they are in their predictions, allowing us to take more in how we incorporate model predictions within our applications. Through this book, you will be introduced to the rapidly growing field of uncertainty-aware deep learning, developing an understanding of the importance of uncertainty estimation in robust machine learning systems. You will learn about a variety of popular Bayesian Deep Learning methods, and how to implement these through practical Python examples covering a range of application scenarios. By the end of the book, you will have a good understanding of Bayesian Deep Learning and its advantages, and you will be able to develop Bayesian Deep Learning models for safer, more robust deep learning systems.
Table of Contents (11 chapters)

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, and user input. Here is an example: ”Any attempt to run code that has such issues will immediately cause the interpreter to fail, raising a SyntaxError exception.”

A block of code is set as follows:

 
{const set = function(...items) {  
    this.arr  = [...items];  
    this.add = {function}(item) {  
        if( this._arr.includes(item) ) {  
            return false; (SC-Source)}

Any command-line input or output is written as follows:

 
$ python3 script.py

Some code examples will represent the input of shells. You can recognize them by specific prompt characters:

  • >>> for interactive Python shell
  • $ for Bash shell (macOS and Linux)
  • > for CMD or PowerShell (Windows)

Warnings or important notes appear like this.

Important note

Warnings or important notes appear like this.

Tips and tricks appear like this.

Tips or tricks

Appear like this.