Commit 0f080d22 authored by fbourgin's avatar fbourgin
Browse files

wip - debug

1 merge request!9Draft: Resolve "evaluation of quantiles prediction"
Pipeline #63457 failed with stage
in 3 minutes and 44 seconds
Showing with 11 additions and 1 deletion
+11 -1
......@@ -30,6 +30,16 @@ using namespace xt::placeholders; // required for `_` to work
std::vector<std::string> all_metrics_p = {
"BS", "BSS", "BS_CRD", "BS_LBD", "REL_DIAG", "CRPS_FROM_BS",
"CRPS_FROM_ECDF",
"QS", "CRPS_FROM_QS",
"CONT_TBL", "POD", "POFD", "FAR", "CSI", "ROCSS",
"RANK_HIST", "DS", "AS",
"CR", "AW", "AWN", "WS",
"ES"
};
std::vector<std::string> all_metrics_p_ = {
"BS", "BSS", "BS_CRD", "BS_LBD", "REL_DIAG", "CRPS_FROM_BS",
"CRPS_FROM_ECDF",
"QS", "CRPS_FROM_QS",
......@@ -61,7 +71,7 @@ std::unordered_map<std::string, xt::xarray<double>> load_expected_p()
std::ifstream ifs;
std::unordered_map<std::string, xt::xarray<double>> expected;
for (const auto& metric : all_metrics_p)
for (const auto& metric : all_metrics_p_)
{
ifs.open(EVALHYD_DATA_DIR "/expected/evalp/" + metric + ".csv");
expected[metric] = xt::view(
......
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