Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

ResidualsBase Struct Reference

Last update: 16.07.2025

The Residuals class creates an abstraction for classes the QualityMeasure may be evaluated for in the MOP framework. It abstracts the essential data necessary in an quality measurement which can be done based on Three information: approximationResiduals: This is data estimated using any approximation type crossValidationResiduals: This is data that is estimated explicitly using cross-validation sets generated by the MOP handler adjustmentCoefficient: This is a value in the range 1,...,N where N is the number of samples provided to the Estimator. More...

Public Member Functions

virtual uint64_t adjustmentCoefficient ()=0
 A function returning the AdjustmentCoefficient when called.
 
virtual uint64_t adjustmentCoefficientRef ()=0
 A function returning the AdjustmentCoefficient when called.
 
virtual Matrix approximationValues ()=0
 A function returning the Approximation data when called.
 
virtual Matrix approximationValuesRef ()=0
 A function returning the Approximation data when called.
 
virtual Matrix crossValidationValues ()=0
 A function return the CrossValidation data when called.
 
virtual Matrix crossValidationValuesRef ()=0
 A function return the CrossValidation data when called.
 
virtual Matrix originalValues ()=0
 A function return the original data when called.
 
virtual Matrix originalValuesRef ()=0
 A function return the original data when called.
 
template<class Archive >
 serialize (Archive ar, number)
 serializes this object, see boost::serialization More...
 

Friends

class boost::serialization::access
 

Detailed Description

The Residuals class creates an abstraction for classes the QualityMeasure may be evaluated for in the MOP framework. It abstracts the essential data necessary in an quality measurement which can be done based on Three information: approximationResiduals: This is data estimated using any approximation type crossValidationResiduals: This is data that is estimated explicitly using cross-validation sets generated by the MOP handler adjustmentCoefficient: This is a value in the range 1,...,N where N is the number of samples provided to the Estimator.

Member Function Documentation

◆ serialize()

serialize ( Archive  ar,
number   
)

serializes this object, see boost::serialization

Parameters
arthe boost archive
versionthe version number

Connect with Ansys