CADETProcess.comparison.NRMSE#
- class CADETProcess.comparison.NRMSE(reference, components=None, use_total_concentration=False, use_total_concentration_components=True, start=None, end=None, transform=None, resample=True, smooth=False, normalize=False)[source]#
Normalized root mean squared errors (RRMSE) difference metric.
- Attributes:
bad_metrics
list: Worst case values for each metric.
n_metrics
int: Number of metrics.
reference
SolutionBase: The reference Solution, sliced and transformed.
Methods
__call__
(solution)Compute the difference between the reference solution and the input solution.
Decorator to automatically check reference and solution dimensions.
evaluate
(solution)Compute the difference between the reference solution and the input solution.
Decorator to automatically smooth and normalize solution.
slice_and_transform
(solution)Slice the solution and applies the transform callable (if defined).
Decorator to automatically slice solution.
Decorator to automatically transform solution data.