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

I am getting the strangest bugs when trying to make a Guassian mixture model class in the jax substrate of tfd, has anyone experienced this before or know what the...

Hi everyone, I found that the adaptive MCMC in tfp.MCMC is for HMC, is there any resource for Metropolis? For example, the [traditional one](https://people.eecs.berkeley.edu/~jordan/sail/readings/andrieu-thoms.pdf) that updates a running covariance?

The docstring for `MaskedAutoregressiveFlow` suggests `AutoregressiveNetwork`, which fails on the jax substrate due to Keras dependencies. If there are still missing pieces, are you interested in contributions? @sharadmv @SiegeLordEx

**Code taken from:** https://github.com/tensorflow/probability/blob/main/tensorflow_probability/examples/jupyter_notebooks/Modeling_with_JointDistribution.ipynb **Code to reproduce:** dfhogg = pd.DataFrame(np.array([[1,201,592,61,9,-0.84], [2,244,401,25,4,0.31], [3,47,583,38,11,0.64], [4,287,402,15,7,-0.27], [5,203,495,21,5,-0.33], [6,58,173,15,9,0.67], [7,210,479,27,4,-0.02], [8,202,504,14,4,-0.05], [9,198,510,30,11,-0.84], [10,158,416,16,7,-0.69], [11,165,393,14,5,0.30], [12,201,442,25,5,-0.46], [13,157,317,52,5,-0.03], [14,131,311,16,6,0.50], [15,166,400,34,6,0.73], [16,160,337,31,5,-0.52], [17,186,423,42,9,0.90], [18,125,334,26,8,0.40], [19,218,533,16,6,-0.78], [20,146,344,22,5,-0.56]]), columns=['id','x','y','sigma_y','sigma_x','rho_xy'])...

Importing ABC directly from collections was deprecated from 3.4 and will be removed in 3.10. Using collections.abc is recommended. Since the project is Python 3 only it doesn't require Python...

Please offer an official tutorial tfp and associated software skills.

Bsically, I'd like to use NUTS to sample my 1 of my parameters. Here, I use the tensorflow implementation, but the problem is that it is too painful to run...

When using relaxed_bernouli to sample on boundary, it outputs inf or NaN log_prob. ``` import tensorflow as tf import tensorflow_probability as tfp tf.random.set_seed(2) dist = tfp.distributions.RelaxedBernoulli(temperature = tf.constant(0.005), logits =...

I'm having a few issues with `tfp.sts.fit_with_hmc` so thought I would reach out, I am using a very recent tfp-nightly and tensorflow 2 alpha. Firstly, the function signature has `num_variational_steps=150`...

Hi folks, (I'm very new to TFP.) I copied the code from the first Tutorial: TFP Probabilistic Layers: Regression into a Jupyter-lab notebook on a local installation of TFP. (Details...