This repo contains model weights for the the probabilistic model from
Probabilistic Bayesian Neural Networks. This example demonstrates how to build basic probabilistic Bayesian neural networks to account for these two types of uncertainty. We use TensorFlow Probability library, which is compatible with Keras API.
Taking a probabilistic approach to deep learning allows to account for uncertainty, so that models can assign less levels of confidence to incorrect predictions. Sources of uncertainty can be found in the data, due to measurement error or noise in the labels, or the model, due to insufficient data availability for the model to learn effectively.
This repo contains model weights only. To use this model, refer to the following code contained in load_bnn_model.py.
We use the wine quality dataset found
here. Each wine was scored from 0-10 by wine experts, and includes 11 physicochemical features about the wine.
The training was done using TensorFlow 2.8.0 and TensorFlow Probability 0.16.0. When working with TensorFlow Probability, it is encouraged to check out the
releases to make sure you are using a stable TensorFlow counterpart.