sdo.ParameterSpace class
Package: sdo
Specify probability distributions for model parameters
Description
Specify the probability distributions for model parameters,
which define the parameter space. You use the sdo.ParameterSpace
object
as an input to the sdo.sample
command and generate
samples of the model parameters. The software generates these samples
as per the distributions specified for each parameter. You evaluate
the cost function for each of these samples using the sdo.evaluate
command
and analyze how the model parameters influence the cost function.
Construction
creates an ps
=
sdo.ParameterSpace(p
)sdo.ParameterSpace
object
for the specified model parameters. The software assigns the parameter
names to the ParameterNames
property and default
values to the remaining properties, including ParameterDistributions
.
The software specifies the uniform distribution for each parameter
in p
and sets the values of the two parameters
of the uniform distribution as follows:
Lower
— Set top.Minimum
. Ifp.Minimum
is equal to -Inf, then the software setsLower
to0.9*p.Value
. Unlessp.Value
is equal to 0, in which case the software setsLower
to -1.Upper
— Set top.Maximum
. Ifp.Maximum
is equal to Inf, then the software setsUpper
to1.1*p.Value
. Unlessp.Value
is equal to 0, in which case the software setsUpper
to 1.
specifies
the distribution of each parameter.ps
= sdo.ParameterSpace(p
,pdist
)
Input Arguments
|
Model parameters and states, specified as a vector of For example, |
|
Probability distribution of model parameters, specified as a vector of univariate probability distribution objects.
Use the To check if |
Properties
|
Model parameter names, specified as cell arrays of character
vectors. For example, This property is ready only. Default: |
|
Model parameter distributions, specified as a vector of By default, the software specifies a uniform distribution for
the model parameters specified by
Use the Default: |
|
Correlation between parameters, specified as a matrix. When you call
Specify Default: |
|
Sampling method options, specified as an Default: |
|
Text notes associated with Default: |
Methods
addParameter | Add parameter to sdo.ParameterSpace object |
removeParameter | Remove parameter from sdo.ParameterSpace object |
setDistribution | Set distribution of parameter in sdo.ParameterSpace object |
Copy Semantics
Value. To learn how value classes affect copy operations, see Copying Objects.
Examples
See Also
addParameter
| sdo.sample
| sdo.getParameterFromModel
| makedist