.. Copyright 2021 IRT Saint-Exupéry, https://www.irt-saintexupery.com This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. .. _gen_distribution_algos: Probability distribution algorithms =================================== .. warning:: Some algorithms may require the :ref:`installation ` of |g| with :ref:`all its features ` and some others may depend on :ref:`plugins `. .. note:: All the features of the wrapped algorithm libraries may not be exposed through |g|. .. raw:: html .. _OTComposedDistribution_options: OTComposedDistribution ---------------------- Module: :class:`gemseo.uncertainty.distributions.openturns.composed` .. raw:: html
Required parameters
  • **distributions** : *Sequence[OTDistribution]* The distributions. .. raw:: html
  • **variable** : *str* The name of the variable, if any; otherwise, concatenate the names of the random variables defined by ``distributions``. .. raw:: html
Optional parameters
  • **copula** : *CopulaModel | str, optional* A copula model. By default it is set to independent_copula. .. raw:: html
.. _OTDiracDistribution_options: OTDiracDistribution ------------------- Module: :class:`gemseo.uncertainty.distributions.openturns.dirac` .. raw:: html
Required parameters
  • **variable** : *str* The name of the random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the random variable. By default it is set to 1. .. raw:: html
  • **lower_bound** : *float | None, optional* A lower bound to truncate the distribution. If None, no lower truncation. By default it is set to None. .. raw:: html
  • **threshold** : *float, optional* A threshold in [0,1]. By default it is set to 0.5. .. raw:: html
  • **transformation** : *str | None, optional* A transformation applied to the random variable, e.g. 'sin(x)'. If None, no transformation. By default it is set to None. .. raw:: html
  • **upper_bound** : *float | None, optional* An upper bound to truncate the distribution. If None, no upper truncation. By default it is set to None. .. raw:: html
  • **variable_value** : *float, optional* The value of the random variable. By default it is set to 0.0. .. raw:: html
.. _OTDistribution_options: OTDistribution -------------- Module: :class:`gemseo.uncertainty.distributions.openturns.distribution` .. raw:: html
Required parameters
  • **interfaced_distribution** : *str* The name of the probability distribution, typically the name of a class wrapped from an external library, such as 'Normal' for OpenTURNS or 'norm' for SciPy. .. raw:: html
  • **parameters** : *ParametersType* The parameters of the probability distribution. .. raw:: html
  • **variable** : *str* The name of the random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the random variable. By default it is set to 1. .. raw:: html
  • **lower_bound** : *float | None, optional* A lower bound to truncate the distribution. If None, no lower truncation. By default it is set to None. .. raw:: html
  • **standard_parameters** : *StandardParametersType | None, optional* The standard representation of the parameters of the probability distribution. By default it is set to None. .. raw:: html
  • **threshold** : *float, optional* A threshold in [0,1]. By default it is set to 0.5. .. raw:: html
  • **transformation** : *str | None, optional* A transformation applied to the random variable, e.g. 'sin(x)'. If None, no transformation. By default it is set to None. .. raw:: html
  • **upper_bound** : *float | None, optional* An upper bound to truncate the distribution. If None, no upper truncation. By default it is set to None. .. raw:: html
.. _OTExponentialDistribution_options: OTExponentialDistribution ------------------------- Module: :class:`gemseo.uncertainty.distributions.openturns.exponential` .. raw:: html
Required parameters
  • **variable** : *str* The name of the exponential random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the exponential random variable. By default it is set to 1. .. raw:: html
  • **loc** : *float, optional* The location of the exponential random variable. By default it is set to 0.0. .. raw:: html
  • **lower_bound** : *float | None, optional* A lower bound to truncate the distribution. If None, no lower truncation. By default it is set to None. .. raw:: html
  • **rate** : *float, optional* The rate of the exponential random variable. By default it is set to 1.0. .. raw:: html
  • **threshold** : *float, optional* A threshold in [0,1]. By default it is set to 0.5. .. raw:: html
  • **transformation** : *str | None, optional* A transformation applied to the random variable, e.g. 'sin(x)'. If None, no transformation. By default it is set to None. .. raw:: html
  • **upper_bound** : *float | None, optional* An upper bound to truncate the distribution. If None, no upper truncation. By default it is set to None. .. raw:: html
.. _OTNormalDistribution_options: OTNormalDistribution -------------------- Module: :class:`gemseo.uncertainty.distributions.openturns.normal` .. raw:: html
Required parameters
  • **variable** : *str* The name of the normal random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the normal random variable. By default it is set to 1. .. raw:: html
  • **lower_bound** : *float | None, optional* A lower bound to truncate the distribution. If None, no lower truncation. By default it is set to None. .. raw:: html
  • **mu** : *float, optional* The mean of the normal random variable. By default it is set to 0.0. .. raw:: html
  • **sigma** : *float, optional* The standard deviation of the normal random variable. By default it is set to 1.0. .. raw:: html
  • **threshold** : *float, optional* A threshold in [0,1]. By default it is set to 0.5. .. raw:: html
  • **transformation** : *str | None, optional* A transformation applied to the random variable, e.g. 'sin(x)'. If None, no transformation. By default it is set to None. .. raw:: html
  • **upper_bound** : *float | None, optional* An upper bound to truncate the distribution. If None, no upper truncation. By default it is set to None. .. raw:: html
.. _OTTriangularDistribution_options: OTTriangularDistribution ------------------------ Module: :class:`gemseo.uncertainty.distributions.openturns.triangular` .. raw:: html
Required parameters
  • **variable** : *str* The name of the triangular random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the triangular random variable. By default it is set to 1. .. raw:: html
  • **lower_bound** : *float | None, optional* A lower bound to truncate the distribution. If None, no lower truncation. By default it is set to None. .. raw:: html
  • **maximum** : *float, optional* The maximum of the random variable. By default it is set to 1.0. .. raw:: html
  • **minimum** : *float, optional* The minimum of the triangular random variable. By default it is set to 0.0. .. raw:: html
  • **mode** : *float, optional* The mode of the triangular random variable. By default it is set to 0.5. .. raw:: html
  • **threshold** : *float, optional* A threshold in [0,1]. By default it is set to 0.5. .. raw:: html
  • **transformation** : *str | None, optional* A transformation applied to the random variable, e.g. 'sin(x)'. If None, no transformation. By default it is set to None. .. raw:: html
  • **upper_bound** : *float | None, optional* An upper bound to truncate the distribution. If None, no upper truncation. By default it is set to None. .. raw:: html
.. _OTUniformDistribution_options: OTUniformDistribution --------------------- Module: :class:`gemseo.uncertainty.distributions.openturns.uniform` .. raw:: html
Required parameters
  • **variable** : *str* The name of the uniform random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the uniform random variable. By default it is set to 1. .. raw:: html
  • **lower_bound** : *float | None, optional* A lower bound to truncate the distribution. If None, no lower truncation. By default it is set to None. .. raw:: html
  • **maximum** : *float, optional* The maximum of the uniform random variable. By default it is set to 1.0. .. raw:: html
  • **minimum** : *float, optional* The minimum of the uniform random variable. By default it is set to 0.0. .. raw:: html
  • **threshold** : *float, optional* A threshold in [0,1]. By default it is set to 0.5. .. raw:: html
  • **transformation** : *str | None, optional* A transformation applied to the random variable, e.g. 'sin(x)'. If None, no transformation. By default it is set to None. .. raw:: html
  • **upper_bound** : *float | None, optional* An upper bound to truncate the distribution. If None, no upper truncation. By default it is set to None. .. raw:: html
.. _SPComposedDistribution_options: SPComposedDistribution ---------------------- Module: :class:`gemseo.uncertainty.distributions.scipy.composed` .. raw:: html
Required parameters
  • **distributions** : *Sequence[SPDistribution]* The distributions. .. raw:: html
  • **variable** : *str* The name of the variable, if any; otherwise, concatenate the names of the random variables defined by ``distributions``. .. raw:: html
Optional parameters
  • **copula** : *CopulaModel | str, optional* A copula model. By default it is set to independent_copula. .. raw:: html
.. _SPDistribution_options: SPDistribution -------------- Module: :class:`gemseo.uncertainty.distributions.scipy.distribution` .. raw:: html
Required parameters
  • **interfaced_distribution** : *str* The name of the probability distribution, typically the name of a class wrapped from an external library, such as 'Normal' for OpenTURNS or 'norm' for SciPy. .. raw:: html
  • **parameters** : *ParametersType* The parameters of the probability distribution. .. raw:: html
  • **variable** : *str* The name of the random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the random variable. standard_parameters (dict, optional): The standard representation of the parameters of the probability distribution. By default it is set to 1. .. raw:: html
  • **standard_parameters** : *StandardParametersType | None, optional* By default it is set to None. .. raw:: html
.. _SPExponentialDistribution_options: SPExponentialDistribution ------------------------- Module: :class:`gemseo.uncertainty.distributions.scipy.exponential` .. raw:: html
Required parameters
  • **variable** : *str* The name of the exponential random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the exponential random variable. By default it is set to 1. .. raw:: html
  • **loc** : *float, optional* The location of the exponential random variable. By default it is set to 0.0. .. raw:: html
  • **rate** : *float, optional* The rate of the exponential random variable. By default it is set to 1.0. .. raw:: html
.. _SPNormalDistribution_options: SPNormalDistribution -------------------- Module: :class:`gemseo.uncertainty.distributions.scipy.normal` .. raw:: html
Required parameters
  • **variable** : *str* The name of the normal random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the normal random variable. By default it is set to 1. .. raw:: html
  • **mu** : *float, optional* The mean of the normal random variable. By default it is set to 0.0. .. raw:: html
  • **sigma** : *float, optional* The standard deviation of the normal random variable. By default it is set to 1.0. .. raw:: html
.. _SPTriangularDistribution_options: SPTriangularDistribution ------------------------ Module: :class:`gemseo.uncertainty.distributions.scipy.triangular` .. raw:: html
Required parameters
  • **variable** : *str* The name of the triangular random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the triangular random variable. By default it is set to 1. .. raw:: html
  • **maximum** : *float, optional* The maximum of the triangular random variable. By default it is set to 1.0. .. raw:: html
  • **minimum** : *float, optional* The minimum of the triangular random variable. By default it is set to 0.0. .. raw:: html
  • **mode** : *float, optional* The mode of the triangular random variable. By default it is set to 0.5. .. raw:: html
.. _SPUniformDistribution_options: SPUniformDistribution --------------------- Module: :class:`gemseo.uncertainty.distributions.scipy.uniform` .. raw:: html
Required parameters
  • **variable** : *str* The name of the uniform random variable. .. raw:: html
Optional parameters
  • **dimension** : *int, optional* The dimension of the uniform random variable. By default it is set to 1. .. raw:: html
  • **maximum** : *float, optional* The maximum of the uniform random variable. By default it is set to 1.0. .. raw:: html
  • **minimum** : *float, optional* The minimum of the uniform random variable. By default it is set to 0.0. .. raw:: html