QualityMeasureBase Struct Reference
Last update: 16.07.2025API for different quality metrics for MOP models. More...
Public Member Functions | |
| virtual number | error (ResidualsBase residuals, uint64_t output=0)=0 |
| Computes the prediction error of the given residuals according to the input and its selected output. More... | |
| virtual bool | expectsCrossValidation ()=0 |
| Return true if the quality measure expects the residuals to handle cross validated outputs. | |
| virtual number | measure (ResidualsBase residuals, uint64_t output=0)=0 |
| Destructor. More... | |
| virtual std::ostream | write (std::ostream)=0 |
| Write the qualityMeasures name out. | |
Detailed Description
API for different quality metrics for MOP models.
Member Function Documentation
◆ error()
|
pure virtual |
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.
◆ measure()
|
pure virtual |
Destructor.
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 residuals approximation against the selected output.