aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-02-16 09:44:13 +0100
committerTibor Frank <tifrank@cisco.com>2018-02-16 08:46:42 +0000
commit4df858360aa0e634c2f31d9c32c489e2e97ebb3f (patch)
treeb143edbeb1f8d18302ae7c1b1961e707bda4d6a2 /resources
parent9cc5f8481ebcfcedd552f33b2e096674d87497c1 (diff)
CSIT-932: Remove outliers form statistical calculations
Change-Id: I95934c92b2ebc77e5e3e7696d318ee8416f848e9 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit a0918a2c7112621563f14ba06a7aee3eaa3ac711)
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py
index 7037404c27..a56ee3e105 100644
--- a/resources/tools/presentation/utils.py
+++ b/resources/tools/presentation/utils.py
@@ -82,6 +82,10 @@ def remove_outliers(input_data, outlier_const):
for y in data.tolist():
if quartile_set[0] <= y <= quartile_set[1]:
result_lst.append(y)
+ print(quartile_set)
+ print(input_data)
+ print(result_lst)
+ print("")
return result_lst