tf.contrib.distributions.Categorical.log_survival_function()

tf.contrib.distributions.Categorical.log_survival_function(value, name='log_survival_function')

Log survival function.

Given random variable X, the survival function is defined:

log_survival_function(x) = Log[ P[X > x] ]
                         = Log[ 1 - P[X <= x] ]
                         = Log[ 1 - cdf(x) ]

Typically, different numerical approximations can be used for the log survival function, which are more accurate than 1 - cdf(x) when x >> 1.

Args:
  • value: float or double Tensor.
  • name: The name to give this op.
Returns:

Tensor of shape sample_shape(x) + self.batch_shape with values of type self.dtype.

doc_TensorFlow
2016-10-14 12:48:25
Comments
Leave a Comment

Please login to continue.