Skip to main content
Part of MOP Handler This is only a sketch of the possible ScalarMOPApproximate API Implementation shall be refined if more information is available.

Public Member Functions

Detailed Description

This is only a sketch of the possible ScalarMOPApproximate API Implementation shall be refined if more information is available.

Member Function Documentation

activeVariables()

Return the the variable active for the selected output. Parameters Returns A vector of bools specifying for each input if it is active

constantInputs()

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/2]

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() [2/2]

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]

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]

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/2]

Return the total CoP from the ScalarMOP in the given datahandler. Parameters Returns The total CoP of all outputs

copTotal() [2/2]

Return the total CoP of the given output the ScalarMOP in the datahandler. Parameters Returns The total CoP of given output

crossValidation()

Returns the cross validation values. Parameters Returns cross validation data from the ScalarMOP

evaluate() [1/2]

Evaluate the ScalarMOP in the datahandler on the given values with bounds check. Parameters Returns Values approximated by the ScalarMOP

evaluate() [2/2]

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

evaluateExtrapolate() [1/2]

Evaluate the ScalarMOP in the datahandler on the given values no bounds check. Parameters Returns Values approximated by the ScalarMOP

evaluateExtrapolate() [2/2]

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()

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()

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

isValid()

checks the settings Parameters Returns true iff the datahandler may be accessed

modelDescription()

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()

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

predictionError() [1/2]

Estimate the prediction error for ScalarMOP in the datahandler on the given values. Parameters Returns The prediction error

predictionError() [2/2]

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]

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]

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]

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]

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