tf.contrib.distributions.normal_congugates_known_sigma_predictive()

tf.contrib.distributions.normal_congugates_known_sigma_predictive(prior, sigma, s, n) Posterior predictive Normal distribution w. conjugate prior on the mean. This model assumes that n observations (with sum s) come from a Normal with unknown mean mu (described by the Normal prior) and known variance sigma^2. The "known sigma predictive" is the distribution of new observations, conditioned on the existing observations and our prior. Accepts a prior Normal distribution object, having parameters

tf.contrib.distributions.NormalWithSoftplusSigma.__init__()

tf.contrib.distributions.NormalWithSoftplusSigma.__init__(mu, sigma, validate_args=False, allow_nan_stats=True, name='NormalWithSoftplusSigma')

tf.contrib.distributions.NormalWithSoftplusSigma.variance()

tf.contrib.distributions.NormalWithSoftplusSigma.variance(name='variance') Variance.

tf.contrib.distributions.NormalWithSoftplusSigma.validate_args

tf.contrib.distributions.NormalWithSoftplusSigma.validate_args Python boolean indicated possibly expensive checks are enabled.

tf.contrib.distributions.NormalWithSoftplusSigma.survival_function()

tf.contrib.distributions.NormalWithSoftplusSigma.survival_function(value, name='survival_function') Survival function. Given random variable X, the survival function is defined: survival_function(x) = P[X > x] = 1 - P[X <= x] = 1 - cdf(x). Args: value: float or double Tensor. name: The name to give this op. Returns: Tensorof shapesample_shape(x) + self.batch_shapewith values of typeself.dtype`.

tf.contrib.distributions.NormalWithSoftplusSigma.std()

tf.contrib.distributions.NormalWithSoftplusSigma.std(name='std') Standard deviation.

tf.contrib.distributions.NormalWithSoftplusSigma.sigma

tf.contrib.distributions.NormalWithSoftplusSigma.sigma Distribution parameter for standard deviation.

tf.contrib.distributions.NormalWithSoftplusSigma.sample_n()

tf.contrib.distributions.NormalWithSoftplusSigma.sample_n(n, seed=None, name='sample_n') Generate n samples. Args: n: Scalar Tensor of type int32 or int64, the number of observations to sample. seed: Python integer seed for RNG name: name to give to the op. Returns: samples: a Tensor with a prepended dimension (n,). Raises: TypeError: if n is not an integer type.

tf.contrib.distributions.NormalWithSoftplusSigma.sample()

tf.contrib.distributions.NormalWithSoftplusSigma.sample(sample_shape=(), seed=None, name='sample') Generate samples of the specified shape. Note that a call to sample() without arguments will generate a single sample. Args: sample_shape: 0D or 1D int32 Tensor. Shape of the generated samples. seed: Python integer seed for RNG name: name to give to the op. Returns: samples: a Tensor with prepended dimensions sample_shape.

tf.contrib.distributions.NormalWithSoftplusSigma.prob()

tf.contrib.distributions.NormalWithSoftplusSigma.prob(value, name='prob') Probability density/mass function (depending on is_continuous). Args: value: float or double Tensor. name: The name to give this op. Returns: prob: a Tensor of shape sample_shape(x) + self.batch_shape with values of type self.dtype.