From d5a256640e60c7ed3211c57e3a22bf47af5dfc43 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 1 Feb 2019 10:41:20 +0100 Subject: compute_param_statistics: Note that 'param' must also be set --- lib/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/utils.py b/lib/utils.py index e9e347e..7c28c91 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -39,6 +39,10 @@ def compute_param_statistics(by_name, by_param, parameter_names, arg_count, stat arguments: by_name -- ground truth partitioned by state/transition name. by_name[state_or_trans][attribute] must be a list or 1-D numpy array. + by_name[state_or_trans]['param'] must be a list of parameter values + corresponding to the ground truth, e.g. [[1, 2, 3], ...] if the + first ground truth element has the (lexically) first parameter set to 1, + the second to 2 and the third to 3. by_param -- ground truth partitioned by state/transition name and parameters. by_name[(state_or_trans, *)][attribute] must be a list or 1-D numpy array. parameter_names -- list of parameter names, must have the same order as the parameter -- cgit v1.2.3