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

Trying to sample from a mixture multivariate normal distribution using reparameterization trick, however errors return. ``` import tensorflow_probability as tfp tfd = tfp.distributions gm = tfd.MixtureSameFamily( mixture_distribution=tfd.Categorical( probs=[0.3, 0.7]), components_distribution=tfd.MultivariateNormalDiag(...

I am trying to write up a TensorFlow distribution for the composite lognormal-Pareto model introduced here: https://www.tandfonline.com/doi/abs/10.1080/03461230601110447?journalCode=sact20 Is there a general recipe for writing up new distributions? In particular, I'm...

I have a Tensorflow 2.x model which is using the TF preprocessing layer (tf.keras.layers.DenseFeatures) and the distributional layer from TF probability (DistributionLambda) ```python def regression_deep1_proba2(preprocessing_layer, feature_layer_inputs, model_name='test_model'): model = tf.keras.Sequential([...

## Proposition for correcting issue #685 Error with Implementation of Mean Method in distributions.Categorical > NotImplementedError: mean is not implemented: Categorical ```py import tensorflow_probability as tfp prob_dist = tfp.distributions.Categorical(probs=[1.0]) print(prob_dist.mean())...

cla: yes

Hi All, Just wondering if there are any plans to introduce a (Hypergeometric distribution)[https://en.wikipedia.org/wiki/Hypergeometric_distribution] into TFP? Seems a slight hole in the otherwise comprehensive arsenal. I'd be happy to co-create.......

Fixed a small typo in the spelling of multivariate

```bash tensorflow==2.7.0 tensorflow-probability==0.14.1 ``` ## TLDR To perform VI on discrete RVs, should I use: - A- the REINFORCE gradient estimator - B- the Gumbel-Softmax reparametrization - C- another solution...

Relatively new to TF/TFP so perhaps there is some obvious answer here. The pdf for the Generalized Pareto is typically defined as having support for `x >= loc` for `shape...

enhancement
help wanted

While testing different momentum distributions for the `PreconditionedHamiltonianMonteCarlo` kernel, it appeared that it is impossible to run with XLA a chain with the momentum distribution `MultivariateNormalDiagPlusLowRank`. Here is a simple...