Downloads · 30 days
0
keras-io/ProbabalisticBayesianModel-Wine
ProbabalisticBayesianModel-Wine is a machine learning model from keras-io. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for keras.
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 tw…
Downloads · 30 days
0
Access
Public
Updated Jun 12, 2022
Repo size
7.6 MB
Likes
2
Public
Click a slice to open those files.
.v27.5 MB · 98%
From the Hugging Face model README
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.
Full credits go to Khalid Salama
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.
| Optimizer | learning_rate | decay | rho | momentum | epsilon | centered | training_precision |
|---|---|---|---|---|---|---|---|
| RMSprop | 0.001 | 0.0 | 0.9 | 0.0 | 1e-07 | False | float32 |