probability
probability copied to clipboard
Probabilistic reasoning and statistical analysis in TensorFlow
Both the `event_ndims` and `name` arguments of the class method `tfp.experimental.stats.RunningVariance.from_shape` were missing, causing `TypeError: from_example() got an unexpected keyword argument 'event_ndims'`.
Hello, Sorry, I probably ask a simple question: - is there a way to understand how the width/height parameters enter in the x_pos/y_pos of the knots. - is there a...
Thanks for this work, and such good paper ! I got a question, would this approach work for bivariate distribution, such as the Normal-Gamma distribution ? Let's get an exemple...
It would be great if you could implement the (M)NIW code we wrote at https://github.com/probml/ssm-jax/blob/main/ssm_jax/distributions.py#L107 as part of core tfd, so we can avoid issues such as https://github.com/tensorflow/probability/issues/1617 in the...
In the most recent update (0.18.0) instantiating a class which inherits from `tfp.distributions.JointDistributionSequential` now raises an error. Here is a MWE (reproduced in [colab](https://colab.research.google.com/drive/1gG_I3gDdbMklfEobqWMuCFa9tv-SR9Dj?usp=sharing)): ```python from jax import numpy as...
I've searched around for the ScopedTFGraph but found nothing. I'm using Python 3.10.5 and following the Notebook without modification. ``` TypeError: TF_TryEvaluateConstant_wrapper(): incompatible function arguments. The following argument types are...
Hello, The problem arises when set up a GaussianProcessRegressionModel without specifying the _index_points_. I provide it later when predicting, with methods like _model.mean_, _model.stddev_ and _model.sample_, as I feel more...
# Running this simple Example: from tensorflow_probability import sts local_ssm = sts.LocalLinearTrendStateSpaceModel(name='local',num_timesteps=30,level_scale=0.5,slope_scale=0.1, initial_state_prior=tfd.MultivariateNormalDiag(loc=[0., 0.], scale_diag=[1., 1.])) model = sts.Sum([local_ssm]) # Gives the error ( in tfp version 0.17.0): File "/usr/local/lib/python3.8/dist-packages/tensorflow_probability/python/sts/components/sum.py",...
## Issue: The dense variational layer does not appear to return random values when used with Apple M1 GPU but works fine with CPU only. ## Expected Behaviour: When calling...
```python import tensorflow as tf from tensorflow_probability.python.sts.internal import util as sts_util tfd = tfp.distributions _, observed_stddev, _ = sts_util.empirical_statistics(observed_time_series) drift_scale_prior = tfd.LogNormal( loc=tf.math.log(0.05 * observed_stddev), scale=3.0, name="drift_scale_prior" ) component =...