Commit 38577cd9 authored by fbourgin's avatar fbourgin
Browse files

add q_lvl in cpp

parent 7ad97223
1 merge request!4Resolve "evaluation of quantiles prediction"
Pipeline #63736 passed with stage
in 4 minutes and 40 seconds
Showing with 3 additions and 0 deletions
+3 -0
......@@ -63,6 +63,7 @@ auto evalp(
const xt::pytensor<double, 2>& q_thr,
std::optional<std::string> events,
const std::vector<double>& c_lvl,
const std::vector<double>& q_lvl,
const xt::pytensor<bool, 4>& t_msk,
const xt::pytensor<std::array<char, 32>, 2>& m_cdt,
std::optional<std::unordered_map<std::string, int>> bootstrap,
......@@ -78,6 +79,7 @@ auto evalp(
q_thr,
(events.has_value()) ? events.value() : xtl::missing<std::string>(),
c_lvl,
q_lvl,
t_msk,
m_cdt,
(bootstrap.has_value())
......@@ -130,6 +132,7 @@ PYBIND11_MODULE(_evalhyd, m)
py::arg("q_thr") = xt::pytensor<double, 2>({0}),
py::arg("events") = py::none(),
py::arg("c_lvl") = py::list(),
py::arg("q_lvl") = py::list(),
py::arg("t_msk") = xt::pytensor<bool, 4>({0}),
py::arg("m_cdt") = xt::pytensor<std::array<char, 32>, 2>({0}),
py::arg("bootstrap") = py::none(),
......
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