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 applying the use of Keras models that utilize probabilistic layers. The model below, which used to work normally, now presents the following error: inputs = tf.keras.Input(shape=(X_train.shape[1],)) x =...

I would like to sample from a posterior distribution which depends on two variables: z and alpha. alpha is a scalar and z is a large vector of hidden variables....

I've been encountering an error training my models with NaNs being introduced from the gradients during training. I think I've narrowed the cause down to be the combination of the...

with the following code how can i use tfp.math.psd_kernels.Polynomial, with feature_ndims=6, i ussually get an error , please help. code = class PolynomialKernelFn(tf_keras.layers.Layer): def __init__(self, bias_amplitude=0.0, slope_amplitude=1.0, shift=0.0, exponent=3.0, feature_ndims=1,...

I'm trying to run the following code: ```python import numpy as np import tensorflow_probability as tfp import tensorflow as tf time_series_with_nans = [-1.0, 1.0, np.nan, 2.4, np.nan, 5] observed_time_series =...

Hi all, is there a new release planned in the near future? TF 2.17 is out since a while, JAX also upgraded a few versions from the previous 0.4.25 to...

code ``` datatime = np.array([datetime.fromtimestamp(i / 1000000) for i in datatime])[20:] depthlist = np.linspace(0, 22, data.shape[0]) data = data[3948:3970, 20:] / 1e5 data = data[:, :300] datatime = datatime[:300] obs_strain...

hello fellow developers, it appears that the tf.keras and tfp.tfp.layers. are not compatible i have this code=" **num_inducing_points = 40 model = tf.keras.Sequential([ tf.keras.layers.InputLayer(input_shape=[1], dtype=x.dtype), tf.keras.layers.Dense(1, kernel_initializer='ones', use_bias=False), tfp.layers.VariationalGaussianProcess( num_inducing_points=num_inducing_points,...

Hi Team, I am trying to save the weights of a Keras model that end with a MixtureNormal layer. And I get the following warning: ``` .../keras/src/saving/serialization_lib.py:(line) 159: UserWarning:The object...

Hi everyone, I'm trying tofind the optimal lambda parameter of the `PowerTransform` bijector with maximum lilkelihood estimation. In order to do so I had to modify the constructor of the...