Commit 7ad97223 authored by fbourgin's avatar fbourgin
Browse files

add q_lvl

parent eabb06a5
1 merge request!4Resolve "evaluation of quantiles prediction"
Pipeline #63735 failed with stage
in 1 minute and 39 seconds
Showing with 5 additions and 1 deletion
+5 -1
Subproject commit 6f17c3e0f32f935c0a4f34dc1d3c6a9ee780497b Subproject commit 4c7d7cee97041a5966e19ea1daa9abf82d3d5ff0
...@@ -14,6 +14,7 @@ def evalp(q_obs: NDArray[dtype('float64')], ...@@ -14,6 +14,7 @@ def evalp(q_obs: NDArray[dtype('float64')],
q_thr: NDArray[dtype('float64')] = None, q_thr: NDArray[dtype('float64')] = None,
events: str = None, events: str = None,
c_lvl: NDArray[dtype('float64')] = None, c_lvl: NDArray[dtype('float64')] = None,
q_lvl: NDArray[dtype('float64')] = None,
t_msk: NDArray[dtype('bool')] = None, t_msk: NDArray[dtype('bool')] = None,
m_cdt: NDArray[dtype('|S32')] = None, m_cdt: NDArray[dtype('|S32')] = None,
bootstrap: Dict[str, int] = None, bootstrap: Dict[str, int] = None,
...@@ -36,6 +37,8 @@ def evalp(q_obs: NDArray[dtype('float64')], ...@@ -36,6 +37,8 @@ def evalp(q_obs: NDArray[dtype('float64')],
kwargs['events'] = events kwargs['events'] = events
if c_lvl is not None: if c_lvl is not None:
kwargs['c_lvl'] = c_lvl kwargs['c_lvl'] = c_lvl
if q_lvl is not None:
kwargs['q_lvl'] = q_lvl
if t_msk is not None: if t_msk is not None:
kwargs['t_msk'] = t_msk kwargs['t_msk'] = t_msk
if m_cdt is not None: if m_cdt is not None:
...@@ -55,6 +58,7 @@ def evalp(q_obs: NDArray[dtype('float64')], ...@@ -55,6 +58,7 @@ def evalp(q_obs: NDArray[dtype('float64')],
'q_prd': 4, 'q_prd': 4,
'q_thr': 2, 'q_thr': 2,
'c_lvl': 1, 'c_lvl': 1,
'q_lvl': 1,
't_msk': 4, 't_msk': 4,
'm_cdt': 2, 'm_cdt': 2,
'dts': 1 'dts': 1
......
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