CoD Struct Reference
Last update: 16.07.2025Reference implementation for a quality metric for MOP models. More...
Public Member Functions | |
| CoD ()=default | |
| Constructor. | |
| CoD (CoD)=default | |
| Copy-Constructor. | |
| virtual number | error (ResidualsBase residuals, uint64_t output=0) override |
| Computes the prediction error of the given residuals according to the input and its selected output. More... | |
| virtual bool | expectsCrossValidation () override |
| Return true if the quality measure expects to handle cross validated outputs. | |
| virtual | loadJson (JsonValue root) override |
| Function to load the Serializables data from a JsonValue. More... | |
| virtual number | measure (ResidualsBase residuals, uint64_t output=0) override |
| Computes the quality measure of the given residuals according to the input and its selected output. More... | |
| CoD | operator= (CoD)=default |
| Copy-Assignment. | |
| virtual JsonValue | saveJson () override |
| Function to save the Serializables data as a JsonValue. More... | |
| virtual std::ostream | write (std::ostream) override |
| Write the qualityMeasures name out. | |
Detailed Description
Reference implementation for a quality metric for MOP models.
Member Function Documentation
◆ error()
|
overridevirtual |
Computes the prediction error of the given residuals according to the input and its selected output.
- Parameters
-
residuals The residuals to calculate the quality measure for output the selected output.
- Returns
- A value that measures the deviation of the residualss approximation against the selected output.
Implements QualityMeasureBase.
◆ loadJson()
|
overridevirtual |
◆ measure()
|
overridevirtual |
Computes the quality measure of the given residuals according to the input and its selected output.
- Parameters
-
residuals The residuals to calculate the quality measure for output the selected output.
- Returns
- A value that measures the deviation of the residualss approximation against the selected output.
Implements QualityMeasureBase.