diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-08-16 11:24:34 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-08-16 11:24:34 +0200 |
commit | c1b9509b588412b8045f5d838bf8c6bca0fa9b77 (patch) | |
tree | 7222935694b8be94d0cf2ae41c08e82a872e52be /bin/analyze-timing.py | |
parent | f619692a4601cdb13a45f47c988d76563a16ba0d (diff) |
optionally prune dependent parameters before analysis
Diffstat (limited to 'bin/analyze-timing.py')
-rwxr-xr-x | bin/analyze-timing.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/analyze-timing.py b/bin/analyze-timing.py index 465932b..1c27533 100755 --- a/bin/analyze-timing.py +++ b/bin/analyze-timing.py @@ -78,6 +78,7 @@ import sys from dfatool import AnalyticModel, TimingData, pta_trace_to_aggregate from dfatool import soft_cast_int, is_numeric, gplearn_to_function from dfatool import CrossValidator +import utils opts = {} @@ -205,6 +206,8 @@ if __name__ == '__main__': preprocessed_data = raw_data.get_preprocessed_data() by_name, parameters, arg_count = pta_trace_to_aggregate(preprocessed_data, ignored_trace_indexes) + utils.prune_dependent_parameters(by_name, parameters) + for param_name_and_value in opts['filter-param']: param_index = parameters.index(param_name_and_value[0]) param_value = soft_cast_int(param_name_and_value[1]) |