LostTech.TensorFlow : API Documentation

Type Geometric

Namespace tensorflow.contrib.distributions

Parent Distribution

Interfaces IGeometric

Geometric distribution.

The Geometric distribution is parameterized by p, the probability of a positive event. It represents the probability that in k + 1 Bernoulli trials, the first k trials failed, before seeing a success.

The pmf of this distribution is:

#### Mathematical Details

```none pmf(k; p) = (1 - p)**k * p ```


* `p` is the success probability, `0 < p <= 1`, and, * `k` is a non-negative integer.


Public properties

object allow_nan_stats get;

object allow_nan_stats_dyn get;

TensorShape batch_shape get;

object batch_shape_dyn get;

object dtype get;

object dtype_dyn get;

TensorShape event_shape get;

object event_shape_dyn get;

object logits get;

Log-odds of a `1` outcome (vs `0`).

object logits_dyn get;

Log-odds of a `1` outcome (vs `0`).

string name get;

object name_dyn get;

IDictionary<object, object> parameters get;

object parameters_dyn get;

Tensor probs get;

Probability of a `1` outcome (vs `0`).

object probs_dyn get;

Probability of a `1` outcome (vs `0`).

object PythonObject get;

object reparameterization_type get;

object reparameterization_type_dyn get;

object validate_args get;

object validate_args_dyn get;