![]() |
Ultra 0.9.4
|
#include <evaluator.h>
Concept modelling a functor that evaluates a single dataset example.
An ExampleEvaluator is a callable object that takes one example from a dataset and returns a value representing its contribution to the overall evaluation.
The returned value can represent:
This concept is intentionally agnostic with respect to the interpretation of the returned value. The aggregation semantics are defined by the evaluator using the functor (e.g. sum vs average, error vs score).
Accepts both functors returning std::optional<double> and functors returning double.