Questions tagged [bayesian-deep-learning]
24 questions
0
votes
0 answers
Reconstruct dropout rate for edward2's DenseVariationalDropout layer
I am currently training a neural network based on simulated data.
The standard architecture of the model is as follows:
Input layer (5 features)
Dense hidden layer (64 units)
Dense hidden layer (32 units)
Dense output layer (2 units)
To improve…

Lutz Köhler
- 1
- 2
0
votes
0 answers
Hyperparameter tunning of CNN model using Bayesian Optimization
I am trying to optimize the hyperparameters of a simple CNN model using Bayesian optimization, but I have been getting an error that I am trying to fix. Can someone please help?
My code:
from sklearn.model_selection import train_test_split
from…

Taiwo Ridwan
- 1
- 1
0
votes
0 answers
Tensorflow Probability is stuck with negative binomial distribution on fit, no error
I have this simple bayesian neural network that gets stuck on .fit(x, y)
def get_model(input_shape, loss, optimizer, metrics, kl_weight, output_shape):
inputs = Input(shape=(input_shape))
x = BatchNormalization()(inputs)
x =…

Olli
- 906
- 10
- 25
0
votes
1 answer
validation loss goes up and down [variational inference]
i was training a mlp through variational inference for a regression task on a small dataset with 1 feature. The nn works and the training loss goes down but the validation loss has random spikes and i do not understand how to avoid them
import…

Alucard
- 187
- 7
0
votes
0 answers
how to make prediction in bayesian convolutional neural network using pyro and pytorch
I'm trying to classify the sign language hand gesture images using Bayesian CNN, I made the following code:
class BCNN(PyroModule):
def __init__(self):
super(BCNN, self).__init__()
self.conv1 =…

Azad
- 15
- 5
0
votes
1 answer
Learning multivariate normal covariance matrix using pytorch
I am trying to learn a multivariate normal covariance matrix (Sigma, ∑) using some observations.
The way I went at it is by using pytorch.distributions.MultivariateNormal:
import torch
from torch.distributions import MultivariateNormal
# I tried…

EyalItskovits
- 116
- 1
- 9
0
votes
1 answer
Cannot Save Tensorflow_probability model
I'm trying to save the tensorflow model bellow:
Model: "sequential_117"
_________________________________________________________________
Layer (type) Output Shape Param # …

maxlamenace
- 71
- 1
- 7
0
votes
0 answers
How to save the predicted data for Bayesian production in r?
I use the below data (not original) & code to do structural bayesian prediction
df1=structure(list(Year = c(1985, 1986, 1987, 1988, 1989, 1990, 1991,
1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007,…

Kazi
- 67
- 7
0
votes
2 answers
Do we have an implementation of Bayesian structural time series in Python?
We are looking for a close pythonian implementation of the r library bsts.
To be precise, I'm looking for something that allows me to emulate the functionality of 'add_regressor' from fbprophet.
Have already tried Pybsts (the kernel kept dying),…

kriti
- 11
- 2