Commit 1b15cac8 authored by fbourgin's avatar fbourgin
Browse files

wip - debug

1 merge request!9Draft: Resolve "evaluation of quantiles prediction"
Pipeline #63453 failed with stage
in 3 minutes and 44 seconds
Showing with 4 additions and 2 deletions
+4 -2
......@@ -70,8 +70,10 @@ namespace evalhyd
auto b = xt::broadcast(q_lvl / 100., std::vector<std::size_t>({2, q_lvl.size()}));
auto res = xt::where(xt::equal(a, xt::transpose(b)));
std::cout << "res: " << res.size() << std::endl;
std::cout << "res_0: " << res[0][0] << std::endl;
std::cout << "res_1: " << res[1][0] << std::endl;
std::cout << "res_00: " << res[0][0] << std::endl;
std::cout << "res_01: " << res[0][1] << std::endl;
std::cout << "res_10: " << res[1][0] << std::endl;
std::cout << "res_11: " << res[1][1] << std::endl;
if (res.size() != 2)
{
throw std::runtime_error(
......
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