    

 ## On this page

  

 

 # ResidualsBase Struct Reference

 Last update: 16.07.2025 

The [Residuals](class_residuals.xhtml "The estimator class creates an abstraction for classes the QualityMeasure may be evaluated for in the...") class creates an abstraction for classes the QualityMeasure may be evaluated for in the [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") 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](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") handler adjustmentCoefficient: This is a value in the range 1,...,N where N is the number of samples provided to the Estimator. [More...](struct_residuals_base.xhtml#details)

## <a name="pub-methods"></a>Public Member Functions

<a id="a87fe2546ad406551bfb14661eb27b183"></a>virtual uint64\_t [adjustmentCoefficient](struct_residuals_base.xhtml#a87fe2546ad406551bfb14661eb27b183) ()=0 A function returning the AdjustmentCoefficient when called.   
 <a id="acafb986adcf3931cf8fb5bd60fbaee5b"></a>virtual uint64\_t [adjustmentCoefficientRef](struct_residuals_base.xhtml#acafb986adcf3931cf8fb5bd60fbaee5b) ()=0 A function returning the AdjustmentCoefficient when called.   
 <a id="ae88060171492f9cde2caa03a1d7d8673"></a>virtual [Matrix](class_matrix.xhtml) [approximationValues](struct_residuals_base.xhtml#ae88060171492f9cde2caa03a1d7d8673) ()=0 A function returning the Approximation data when called.   
 <a id="a305838b4a859164ef4326c672a4740f4"></a>virtual [Matrix](class_matrix.xhtml) [approximationValuesRef](struct_residuals_base.xhtml#a305838b4a859164ef4326c672a4740f4) ()=0 A function returning the Approximation data when called.   
 <a id="af00a7e4b9360ddad6cb2193202c801b4"></a>virtual [Matrix](class_matrix.xhtml) [crossValidationValues](struct_residuals_base.xhtml#af00a7e4b9360ddad6cb2193202c801b4) ()=0 A function return the CrossValidation data when called.   
 <a id="a43e5fabbaef8c80a34ba7c6634cf9a3a"></a>virtual [Matrix](class_matrix.xhtml) [crossValidationValuesRef](struct_residuals_base.xhtml#a43e5fabbaef8c80a34ba7c6634cf9a3a) ()=0 A function return the CrossValidation data when called.   
 <a id="a9389a044beed6f6bd43ad9e31e8262c3"></a>virtual [Matrix](class_matrix.xhtml) [originalValues](struct_residuals_base.xhtml#a9389a044beed6f6bd43ad9e31e8262c3) ()=0 A function return the original data when called.   
 <a id="a4744f846fc5021b1de3165c0021c57c6"></a>virtual [Matrix](class_matrix.xhtml) [originalValuesRef](struct_residuals_base.xhtml#a4744f846fc5021b1de3165c0021c57c6) ()=0 A function return the original data when called.   
 template&lt;class Archive &gt;  [serialize](struct_residuals_base.xhtml#aaa3a4f99152c0c2dce6c8794c9b1ee49) ([Archive](class_archive.xhtml) ar, number) serializes this object, see boost::serialization [More...](#aaa3a4f99152c0c2dce6c8794c9b1ee49)  
 ## <a name="friends"></a>Friends

<a id="ac98d07dd8f7b70e16ccb9a01abf56b9c"></a>class **boost::serialization::access** <a id="details" name="details"></a>## Detailed Description

The [Residuals](class_residuals.xhtml "The estimator class creates an abstraction for classes the QualityMeasure may be evaluated for in the...") class creates an abstraction for classes the QualityMeasure may be evaluated for in the [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") 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](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") 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

<a id="aaa3a4f99152c0c2dce6c8794c9b1ee49"></a>## [◆ ](#aaa3a4f99152c0c2dce6c8794c9b1ee49)serialize()

 serialize  ( [Archive](class_archive.xhtml)  *ar*,    number     ) 

serializes this object, see boost::serialization

Parameters arthe boost archive versionthe version number