Public Member Functions
Static Public Member Functions
Serialization
Detailed Description
Represents a ScalarMOP2. Copyright DYNARDO Austria GmbH The meta model is a mathematical function which approximates one or multiple output quantities from values of one or multiple input quantities.Constructor & Destructor Documentation
ScalarMOP2()
Member Function Documentation
activeVariables()
inherited
Return the the variable active for the selected output.
Parameters
Returns
A vector of bools specifying for each input if it is active
constantInputs()
inherited
Return the the variables inactive for all outputs (the constant inputs)
Parameters
Returns
A vector of bools specifying for each input if it is constant
copInputs() [1/3]
override
Returns
the individual CoP values of each input for each output The CoP matrix is organized as follows:
- each column corresponds to one design variable
- each row corresponds to one output variable
copInputs() [2/3]
inherited
Compute the individual CoPs of second order for each input of given order for all outputs from the ScalarMOP in the datahandler.
Parameters
Returns
the individual CoP values of each input for each output The CoP matrix is organized as follows:
- each column corresponds to one design variable
- each row corresponds to one output variable
copInputs() [3/3]
inherited
Compute the individual CoPs of second order for each input of given order for a single output from the ScalarMOP in the datahandler.
Parameters
Returns
the individual CoP values of each input for a single output output The CoP matrix is organized as follows:
- each column corresponds to one design variable
- each row corresponds to one output variable
copInputsFirstOrder() [1/2]
inherited
Compute the individual CoPs of first order for each input of given order for all outputs from the ScalarMOP in the datahandler.
Parameters
Returns
the individual CoP values of each input for each output The CoP matrix is organized as follows:
- each column corresponds to one design variable
- each row corresponds to one output variable
copInputsFirstOrder() [2/2]
inherited
Compute the individual CoPs of given order for each input of given order for a single output from the ScalarMOP in the datahandler.
Parameters
Returns
the individual CoP values of each input for a single output output The CoP matrix is organized as follows:
- each column corresponds to one design variable
- each row corresponds to one output variable
copTotal() [1/3]
override
Returns
a column vector which contains the total CoP for each output variable
copTotal() [2/3]
inherited
Return the total CoP from the ScalarMOP in the given datahandler.
Parameters
Returns
The total CoP of all outputs
copTotal() [3/3]
inherited
Return the total CoP of the given output the ScalarMOP in the datahandler.
Parameters
Returns
The total CoP of given output
crossValidation()
inherited
Returns the cross validation values.
Parameters
Returns
cross validation data from the ScalarMOP
cvOutputs()
override
Returns
a matrix which contains the cross-validated values for each output variable
evaluate() [1/3]
inherited
Evaluate the ScalarMOP in the datahandler on the given values with bounds check.
Parameters
Returns
Values approximated by the ScalarMOP
evaluate() [2/3]
inherited
Evaluate the ScalarMOP in the datahandler on the given values. Only evaluate the given output. With bounds check.
Parameters
Returns
Values approximated by the ScalarMOP
evaluate() [3/3]
override
Parameters
Returns
matrix of output variable values as approximated by the meta model; each column represents a single design, e.g. numRows = numOutputs; numCols = x.numCols()
evaluateExtrapolate() [1/2]
inherited
Evaluate the ScalarMOP in the datahandler on the given values no bounds check.
Parameters
Returns
Values approximated by the ScalarMOP
evaluateExtrapolate() [2/2]
inherited
Evaluate the ScalarMOP in the datahandler on the given values. Only evaluate the given output. No bounds check.
Parameters
Returns
Values approximated by the ScalarMOP
filterActiveSampleIds()
inherited
Return the the samples id active for the selected output from the given list of sample_ids.
Parameters
Returns
A vector of strings representing the ids of the active samples
filterConstantInputNames()
inherited
Filter the list of input names such that only the constant ones are returned The Input names need to be in the order as given on the training of the MOP.
Parameters
Returns
A list of input names representing the constant inputs
getSensitivities()
override
Returns
the individual CoP values of each input for each output The sensitivities matrix is organized as follows:
- The first column contains the total CoP for each output variable
-
The other columns contain the CoP matrix organized as follows:
- each column corresponds to one design variable
- each row corresponds to one output variable
isValid() [1/2]
inherited
checks the settings
Parameters
Returns
true iff the datahandler may be accessed
isValid() [2/2]
override
destructor
returns true if the ScalarMOP2 is valid
load()
static
Loads the ScalarMOP2 from a file.
Parameters
modelDescription()
inherited
Return the description of the model computing the output for the SclarMOP in the datahandler.
Parameters
Returns
A string containing the description of the model
modelName()
inherited
Return the name of the model computing the output for the SclarMOP in the datahandler.
Parameters
Returns
A string containing the name of the model
numInputs()
override
Returns
the number of input variables
numOutputs()
override
Returns
the number of output variables
numSamples()
override
Returns
number of samples used to establish ScalarMOP2
operator=()
Returns
a reference to this object
operator==()
Returns
true if both objects contain the same content
predictionError() [1/2]
inherited
Estimate the prediction error for ScalarMOP in the datahandler on the given values.
Parameters
Returns
The prediction error
predictionError() [2/2]
inherited
Estimate the prediction error for ScalarMOP in the datahandler on the given values for the given output.
Parameters
Returns
Values approximated by the ScalarMOP
qualityMeasureTotal() [1/2]
inherited
Return the total quality measure w.r.t. the expected responses from the ScalarMOP in the given datahandler.
Parameters
Returns
The total quality measure of all outputs w.r.t. the expected responses
qualityMeasureTotal() [2/2]
inherited
Return the total quality measure w.r.t. the expected responses for the given output from the ScalarMOP in the given datahandler.
Parameters
Returns
The total quality measure of all outputs w.r.t. the expected responses
sampleStatus() [1/2]
inherited
Return the the samples active/inactive for all models.
Parameters
Returns
A matrix of bools specifying for each sample/model if it is active/inactive
sampleStatus() [2/2]
inherited
Return the the samples id active for the selected output from the given list of sample_ids.
Parameters
Returns
A vector of bools specifying for each samples if it is active/inactive for the model