Commit 67abb41f authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

add access to determinist metrics to `evalp`

This is an attempt to add access to determinist metrics to probabilist
evaluation (i.e. via the choice of a reducer on ensemble members).

The idea is to instantiate one determinist::Evaluator per site (in order
to reduce the dimension to 2D) as part of probabilist::Evaluator. This
way, the determinist evaluator handles all the memoisation/dependency
management, while the probabilist evaluator only needs to get the metrics
via a call to the getter methods of the determinist evaluator (e.g.
`get_RMSE`).

Unfortunately, while this commit compiles/links, it fails to run because
the views to q_obs/q_prd given to each determinist evaluator lose the
reference to the data as soon as it leaves the constructor method. So
there is likely a move/forward required somewhere, or the use of
a constructor method expecting universal references, but for now I could
not find a working solution along those lines. So I park this here for
now.
parent b345c349
Pipeline #43503 passed with stage
in 3 minutes and 29 seconds
Showing with 253 additions and 32 deletions
+253 -32
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment