ContinuousDistribution¶
- class ContinuousDistribution[source]¶
Bases:
Distribution
Base class for representing continuous probability distributions.
- abstract classmethod cdf(*args, **kwargs) Tensor [source]¶
Computes the cumulative distribution function.
- Returns:
resulting cumulative probabilities.
- Return type:
- Raises:
NotImplementedError – must be implemented by the subclass.
- abstract classmethod logcdf(*args, **kwargs) Tensor [source]¶
Computes the natural logarithm of the cumulative distribution function.
- Returns:
log of the resulting cumulative probabilities.
- Return type:
- Raises:
NotImplementedError – must be implemented by the subclass.
- abstract classmethod logpdf(*args, **kwargs) Tensor [source]¶
Computes the natural logarithm of the probability density function.
- Returns:
log of the resulting relative likelihoods.
- Return type:
- Raises:
NotImplementedError – must be implemented by the subclass.
- abstract classmethod pdf(*args, **kwargs) Tensor [source]¶
Computes the probability density function.
- Returns:
resulting relative likelihoods.
- Return type:
- Raises:
NotImplementedError – must be implemented by the subclass.