probability
probability copied to clipboard
Probabilistic reasoning and statistical analysis in TensorFlow
```python import tensorflow_probability as tfp import copy tfd =tfp.distributions tfb = tfp.bijectors log_normal = tfd.TransformedDistribution( distribution=tfd.Normal(loc=0., scale=1.), bijector=tfb.Exp(), name='LogNormalTransformedDistribution') copy.deepcopy(log_normal) ``` The above raises `TypeError: missing a required argument: 'distribution'`....
I am trying to fit a model with TensorFlow probability, for example: ``` input = Input(shape=(32,32,32,3)) x = tfp.layers.Convolution3DReparameterization( 64, kernel_size=5, padding='SAME', activation=tf.nn.relu, data_format = 'channels_first')(input) x = tf.keras.layers.MaxPooling3D(pool_size=(2, 2,...
I've been working through the TFP [VAE tutorial](https://www.tensorflow.org/probability/examples/Probabilistic_Layers_VAE), and tried to save the model after training. However, this was not possible in SavedModel format. Command: `model.save(saved_model_path, save_format="tf", save_traces=True)` Produces the...
Hello TFP community, I’d like to work on the implementation of the Kappa-Generalized distribution [1-3]. It's based on the one-parameter generalization of the exponential function proposed in [4] and can...
When I try to train a very simple and small model with tensorflow and tensorflow_probability, the code is following def neg_log_likelihood(y_true, y_hat): return -y_hat.log_prob(y_true) inputs = tf.keras.layers.Input(shape=(X_train.shape[1], )) h1 =...
On pypi, the SDist of `tensorflow-probability` is not published. Only a binary artifact is published. Is there a reason for not publishing SDist (.tar.gz) along the bdist_wheel that is currently...
If I pass a AutoregressiveNetwork object to a tfa SpectralNormalization layer (https://www.tensorflow.org/addons/api_docs/python/tfa/layers/SpectralNormalization) then I get the following error: `AutoregressiveNetwork object has no attribute 'kernel' nor 'embeddings'` AutoregressiveNetwork has a kernel....
I am interested in being able to construct a joint distribution (I use JointDistributionCoroutineAutobatched) for use in regression modeling which includes predictors as part of the model specification. I want...
Truncated normal gives wrong values sometimes. Seems to be when the scale is relatively small, but in surprising situations where you'd expect it to work like TruncatedNormal(1, 0.1, 0, 10)....
I want to export the training signature to train my model with the C++ API. However, I am not able to export the model, even after reading through [https://github.com/tensorflow/probability/issues/742]() ,...