bayesvalidrox.surrogate_models.inputs.Input¶
- class bayesvalidrox.surrogate_models.inputs.Input¶
Bases:
object
A class to define the uncertain input parameters.
Attributes¶
- Marginalsobj
Marginal objects. See inputs.Marginal.
- Rosenblattbool
If Rossenblatt transformation is required for the dependent input parameters.
Examples¶
Marginals can be defined as following:
>>> inputs = Inputs() >>> inputs.add_marginals() >>> inputs.Marginals[0].name = 'X_1' >>> inputs.Marginals[0].dist_type = 'uniform' >>> inputs.Marginals[0].parameters = [-5, 5]
If there is no common data is avaliable, the input data can be given as following:
>>> inputs.add_marginals() >>> inputs.Marginals[0].name = 'X_1' >>> inputs.Marginals[0].input_data = [0,0,1,0]
- __init__()¶
Methods
__init__
()Adds a new Marginal object to the input object.
Attributes
poly_coeffs_flag