gemseo.uncertainty.distributions.openturns.beta module#
The OpenTURNS-based Beta distribution.
- class OTBetaDistribution(alpha=2.0, beta=2.0, minimum=0.0, maximum=1.0, transformation='', lower_bound=None, upper_bound=None, threshold=0.5)[source]#
Bases:
OTDistribution
The OpenTURNS-based Beta distribution.
Examples
>>> from gemseo.uncertainty.distributions.openturns.distribution import ( ... OTDistribution, ... ) >>> distribution = OTDistribution("Exponential", (3, 2)) >>> print(distribution) Exponential(3, 2)
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
alpha (float) --
The first shape parameter of the beta random variable.
By default it is set to 2.0.
beta (float) --
The second shape parameter of the beta random variable.
By default it is set to 2.0.
minimum (float) --
The minimum of the beta random variable.
By default it is set to 0.0.
maximum (float) --
The maximum of the beta random variable.
By default it is set to 1.0.
transformation (str) --
A transformation applied to the random variable, e.g. \(\sin(x)\). If empty, no transformation.
By default it is set to "".
lower_bound (float | None) -- A lower bound to truncate the probability distribution. If
None
, no lower truncation.upper_bound (float | None) -- An upper bound to truncate the probability distribution. If
None
, no upper truncation.threshold (float) --
A threshold in [0,1] (see OpenTURNS documentation).
By default it is set to 0.5.