sdo.evaluate
Evaluate cost function for samples
Syntax
Description
[
evaluates the cost function, y
,info
]
= sdo.evaluate(fcn
,params
)fcn
, for samples of the parameter
space specified by params
. The software generates a table of
samples based on the parameter space specifications in
params
.
If
params
is ansdo.ParameterSpace
object, thensdo.evalute
generates random samples according to theParameterDistributions
,RankCorrelation
, andOptions
properties of the parameter space.If
params
is ansdo.GriddedSpace
object, thensdo.evalute
generates a grid of samples according to theParameterValues
andOptions
properties of the parameter space.
The function specified by fcn
takes the sample values and
computes model goal values. A model goal can be a cost (objective), constraint, or
assessment of difference between experimental data and model simulation.
y
is a table containing the results of applying
fcn
to each of the samples. Additional evaluation
information is returned in info
.
[
evaluates the cost function for the specified parameter samples. For this syntax,
you can specify y
,info
]
= sdo.evaluate(fcn
,params
,param_samples
)params
as one of:
An
sdo.ParameterSpace
object.An
sdo.GriddedSpace
object.A vector of parameter objects, which you typically generate using
sdo.getParameterFromModel
.
You typically generate the table of parameter samples
param_samples
using sdo.sample
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2014a
See Also
sdo.EvaluateOptions
| sdo.optimize
| sdo.sample
| sdo.analyze
| sdo.ParameterSpace
| sdo.GriddedSpace