Commit 5adc574d authored by fbourgin's avatar fbourgin
Browse files

wip

parent d7abf7fe
1 merge request!9Resolve "evaluation of quantiles prediction"
Pipeline #63285 passed with stage
in 3 minutes and 45 seconds
Showing with 10 additions and 0 deletions
+10 -0
...@@ -246,6 +246,7 @@ TEST(ProbabilistTests, TestRanks) ...@@ -246,6 +246,7 @@ TEST(ProbabilistTests, TestRanks)
xt::xtensor<double, 2>({}), xt::xtensor<double, 2>({}),
"high", // events "high", // events
{}, // c_lvl {}, // c_lvl
{}, // q_lvl
xt::xtensor<bool, 4>({}), // t_msk xt::xtensor<bool, 4>({}), // t_msk
xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt
xtl::missing<const std::unordered_map<std::string, int>>(), // bootstrap xtl::missing<const std::unordered_map<std::string, int>>(), // bootstrap
...@@ -361,6 +362,7 @@ TEST(ProbabilistTests, TestMasks) ...@@ -361,6 +362,7 @@ TEST(ProbabilistTests, TestMasks)
thresholds, thresholds,
"high", "high",
confidence_levels, confidence_levels,
{}, // q_lvl
// shape: (sites [1], lead times [1], subsets [1], time [t]) // shape: (sites [1], lead times [1], subsets [1], time [t])
masks masks
); );
...@@ -431,6 +433,7 @@ TEST(ProbabilistTests, TestMaskingConditions) ...@@ -431,6 +433,7 @@ TEST(ProbabilistTests, TestMaskingConditions)
thresholds, thresholds,
"high", "high",
confidence_levels, confidence_levels,
{}, // q_lvl
masks, masks,
q_conditions q_conditions
); );
...@@ -488,6 +491,7 @@ TEST(ProbabilistTests, TestMaskingConditions) ...@@ -488,6 +491,7 @@ TEST(ProbabilistTests, TestMaskingConditions)
thresholds, thresholds,
"high", "high",
confidence_levels, confidence_levels,
{}, // q_lvl
masks, masks,
q_conditions_ q_conditions_
); );
...@@ -542,6 +546,7 @@ TEST(ProbabilistTests, TestMaskingConditions) ...@@ -542,6 +546,7 @@ TEST(ProbabilistTests, TestMaskingConditions)
thresholds, thresholds,
"high", "high",
confidence_levels, confidence_levels,
{}, // q_lvl
masks, masks,
t_conditions t_conditions
); );
...@@ -705,6 +710,7 @@ TEST(ProbabilistTests, TestBootstrap) ...@@ -705,6 +710,7 @@ TEST(ProbabilistTests, TestBootstrap)
thresholds, thresholds,
"high", // events "high", // events
confidence_levels, confidence_levels,
{}, // q_lvl
xt::xtensor<bool, 4>({}), // t_msk xt::xtensor<bool, 4>({}), // t_msk
xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt
bootstrap, bootstrap,
...@@ -790,6 +796,7 @@ TEST(ProbabilistTests, TestBootstrapSummary) ...@@ -790,6 +796,7 @@ TEST(ProbabilistTests, TestBootstrapSummary)
thresholds, thresholds,
"high", // events "high", // events
confidence_levels, confidence_levels,
{}, // q_lvl
xt::xtensor<bool, 4>({}), // t_msk xt::xtensor<bool, 4>({}), // t_msk
xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt
bootstrap_0, bootstrap_0,
...@@ -808,6 +815,7 @@ TEST(ProbabilistTests, TestBootstrapSummary) ...@@ -808,6 +815,7 @@ TEST(ProbabilistTests, TestBootstrapSummary)
thresholds, thresholds,
"high", // events "high", // events
confidence_levels, confidence_levels,
{}, // q_lvl
xt::xtensor<bool, 4>({}), // t_msk xt::xtensor<bool, 4>({}), // t_msk
xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt
bootstrap_1, bootstrap_1,
...@@ -859,6 +867,7 @@ TEST(ProbabilistTests, TestBootstrapSummary) ...@@ -859,6 +867,7 @@ TEST(ProbabilistTests, TestBootstrapSummary)
thresholds, thresholds,
"high", // events "high", // events
confidence_levels, confidence_levels,
{}, // q_lvl
xt::xtensor<bool, 4>({}), // t_msk xt::xtensor<bool, 4>({}), // t_msk
xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt
bootstrap_2, bootstrap_2,
...@@ -935,6 +944,7 @@ TEST(ProbabilistTests, TestCompleteness) ...@@ -935,6 +944,7 @@ TEST(ProbabilistTests, TestCompleteness)
xt::xtensor<double, 2>({}), // thresholds xt::xtensor<double, 2>({}), // thresholds
xtl::missing<const std::string>(), // events xtl::missing<const std::string>(), // events
{}, {},
{}, // q_lvl
msk, // t_msk msk, // t_msk
xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt xt::xtensor<std::array<char, 32>, 2>({}), // m_cdt
xtl::missing<const std::unordered_map<std::string, int>>(), // bootstrap xtl::missing<const std::unordered_map<std::string, int>>(), // bootstrap
......
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