probability icon indicating copy to clipboard operation
probability copied to clipboard

Probabilistic reasoning and statistical analysis in TensorFlow

Results 289 probability issues
Sort by recently updated
recently updated
newest added

Please can anyone let me know why the following code: from tensorflow.keras.layers import Input from tensorflow.keras.layers import Dense from tensorflow.keras.layers import Concatenate from tensorflow.keras.models import Model from tensorflow.keras.optimizers import Adam...

Hi, I was trying to use `tfp.math.minimize_stateless` for one of my applications and found that it automatically optimizes all the arguments passed to the `loss_fun`. For example, here is a...

python.interlnal.custom_gradient.custom_gradient generate warnings: "@custom_gradient grad_fn has 'variables' in signature, but no ResourceVariables were used on the forward pass.". TF will specify not only arg 'variabels' but also **kwargs. In 'f_wrapped',...

Would be cool to have, could double up as a Keras.io tutorial

Hi, I was trying to train a model using a RelaxedOneHotCategorical wrapped in a DistributionLambda layer on TPU. Unfortunately when using the bfloat16 TPU mixed precision option I run into...

The following code ``` import tensorflow as tf import tensorflow_probability as tfp from tensorflow_probability import distributions as tfd def get_mnist_data(normalize=True): img_rows, img_cols = 28, 28 (x_train, y_train), (x_test, y_test) =...

I'm getting an error trying to build a Keras model (using either the sequential or functional API) using a `DistributionLambda` output layer with a lambda function that returns `JointDistribution` as...

Hi, I am currently using the tensorflow probability Glow model (tfb.Glow) and I am interested on conditioning the coupling blocks on a different tensor than the input data. Can anyone...

> On Mon, Jul 27, 2020 at 10:25 AM Simeon Carstens ***@***.***> wrote: Looks like so far, there's still no negative binomial regression in TFP. I will give it a...

In the documentation for variational Gaussian process applied to minibatches (https://github.com/tensorflow/probability/blob/v0.12.1/tensorflow_probability/python/distributions/variational_gaussian_process.py#L572), the KL term is rescaled by batch_size/num_training_points_. I assume the reconstruction error term (expected log-likelihood) is not scaled and...