-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename UnivDist to Marginal across codebase
Renamed the `UnivDist` class to `Marginal` to better reflect its purpose of representing one-dimensional marginal distribution of a univariate random variable. This change was applied to all affected modules, test files, and documentation to maintain consistency throughout the codebase. This commit should resolve Issue #368.
- Loading branch information
1 parent
529eb47
commit ef60e59
Showing
45 changed files
with
243 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.. _api_reference_marginal_distribution: | ||
|
||
One-Dimensional Marginal Distribution | ||
===================================== | ||
|
||
.. automodule:: uqtestfuns.core.prob_input.marginal | ||
|
||
.. autoclass:: uqtestfuns.core.prob_input.marginal.Marginal | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
(prob-input:available-univariate-distributions)= | ||
# Available Univariate Distributions | ||
(prob-input:available-marginal-distributions)= | ||
# Available One-Dimensional Marginal Distributions | ||
|
||
The table below lists all the available univariate distribution types used | ||
to construct ``UnivDist`` instances. ``UnivDist`` are used to represent the | ||
univariate marginals of a (possibly, multivariate) probabilistic input model. | ||
The table below lists all the available one-dimensional marginal distribution | ||
types used to construct ``Marginal`` instances. | ||
``Marginal`` instances are used to represent the one-dimensional marginals | ||
of a (possibly, multivariate) probabilistic input model. | ||
|
||
| Name | Keyword value for `distribution` | Notation | Support | Number of parameters | | ||
|:-------------------------------------------------------------------------------------:|:--------------------------------:|:-------------------------------------------------:|:--------------------------------:|:--------------------:| | ||
| {ref}`Beta <prob-input:univariate-distributions:beta>` | `"beta"` | $\mathrm{Beta}(\alpha, \beta, a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 4 | | ||
| {ref}`Exponential <prob-input:univariate-distributions:exponential>` | `"exponential"` | $\mathcal{E}(\lambda)$ | $[0, \infty)$ | 1 | | ||
| {ref}`Gumbel (max.) <prob-input:univariate-distributions:gumbel>` | `"gumbel"` | $\mathrm{Gumbel}(\mu, \beta)$ | $(-\infty, \infty)$ | 2 | | ||
| {ref}`Logit-Normal <prob-input:univariate-distributions:logitnormal>` | `"logitnormal"` | $\mathcal{N}_{\mathrm{logit}}(\mu, \sigma)$ | $(0, 1)$ | 2 | | ||
| {ref}`Log-Normal <prob-input:univariate-distributions:lognormal>` | `"lognormal"` | $\mathcal{N}_{\mathrm{log}} (\mu, \sigma)$ | $(0, \infty)$ | 2 | | ||
| {ref}`Normal (Gaussian) <prob-input:univariate-distributions:normal>` | `"normal"` | $\mathcal{N}(\mu, \sigma)$ | $(-\infty, \infty)$ | 2 | | ||
| {ref}`Triangular <prob-input:univariate-distributions:triangular>` | `"triangular"` | $\mathcal{T}_r(a, b, c)$ | $[a, b], \; a, b \in \mathbb{R}$ | 3 | | ||
| {ref}`Truncated Gumbel (max.) <prob-input:univariate-distributions:trunc-gumbel>` | `"trunc-gumbel"` | $\mathrm{Gumbel}_{\mathrm{Tr}}(\mu, \beta, a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 4 | | ||
| {ref}`Truncated Normal (Gaussian) <prob-input:univariate-distributions:trunc-normal>` | `"trunc-normal"` | $\mathcal{N}_{\mathrm{Tr}}(\mu, \sigma, a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 4 | | ||
| {ref}`Uniform <prob-input:univariate-distributions:uniform>` | `"uniform"` | $\mathcal{U}(a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 2 | | ||
| Name | Keyword value for `distribution` | Notation | Support | Number of parameters | | ||
|:-----------------------------------------------------------------------------------:|:--------------------------------:|:-------------------------------------------------:|:--------------------------------:|:--------------------:| | ||
| {ref}`Beta <prob-input:marginal-distributions:beta>` | `"beta"` | $\mathrm{Beta}(\alpha, \beta, a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 4 | | ||
| {ref}`Exponential <prob-input:marginal-distributions:exponential>` | `"exponential"` | $\mathcal{E}(\lambda)$ | $[0, \infty)$ | 1 | | ||
| {ref}`Gumbel (max.) <prob-input:marginal-distributions:gumbel>` | `"gumbel"` | $\mathrm{Gumbel}(\mu, \beta)$ | $(-\infty, \infty)$ | 2 | | ||
| {ref}`Logit-Normal <prob-input:marginal-distributions:logitnormal>` | `"logitnormal"` | $\mathcal{N}_{\mathrm{logit}}(\mu, \sigma)$ | $(0, 1)$ | 2 | | ||
| {ref}`Log-Normal <prob-input:marginal-distributions:lognormal>` | `"lognormal"` | $\mathcal{N}_{\mathrm{log}} (\mu, \sigma)$ | $(0, \infty)$ | 2 | | ||
| {ref}`Normal (Gaussian) <prob-input:marginal-distributions:normal>` | `"normal"` | $\mathcal{N}(\mu, \sigma)$ | $(-\infty, \infty)$ | 2 | | ||
| {ref}`Triangular <prob-input:marginal-distributions:triangular>` | `"triangular"` | $\mathcal{T}_r(a, b, c)$ | $[a, b], \; a, b \in \mathbb{R}$ | 3 | | ||
| {ref}`Truncated Gumbel (max.) <prob-input:marginal-distributions:trunc-gumbel>` | `"trunc-gumbel"` | $\mathrm{Gumbel}_{\mathrm{Tr}}(\mu, \beta, a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 4 | | ||
| {ref}`Truncated Normal (Gaussian) <prob-input:marginal-distributions:trunc-normal>` | `"trunc-normal"` | $\mathcal{N}_{\mathrm{Tr}}(\mu, \sigma, a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 4 | | ||
| {ref}`Uniform <prob-input:marginal-distributions:uniform>` | `"uniform"` | $\mathcal{U}(a, b)$ | $[a, b], \; a, b \in \mathbb{R}$ | 2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.