From 016210b6c64881a683b45a91af213a1d1a1128ab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 9 Jul 2020 14:55:08 +0200 Subject: working candidate detection for decision trees --- lib/parameters.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/parameters.py') diff --git a/lib/parameters.py b/lib/parameters.py index 5c6b978..3a393f6 100644 --- a/lib/parameters.py +++ b/lib/parameters.py @@ -272,6 +272,7 @@ def _compute_param_statistics( "corr_by_arg": [], "depends_on_param": {}, "depends_on_arg": [], + "depends_on_params": list(), } np.seterr("raise") @@ -297,6 +298,9 @@ def _compute_param_statistics( ret["std_param_lut"], ) + if ret["depends_on_param"][param]: + ret["depends_on_params"].append(param) + if state_or_trans in arg_count: for arg_index in range(arg_count[state_or_trans]): std_matrix, mean_std, lut_matrix = _std_by_param( -- cgit v1.2.3