Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
PAL Trending: fix in remove_outliers
[csit.git]
/
resources
/
tools
/
presentation
/
utils.py
diff --git
a/resources/tools/presentation/utils.py
b/resources/tools/presentation/utils.py
index
bc62268
..
2fbf70c
100644
(file)
--- a/
resources/tools/presentation/utils.py
+++ b/
resources/tools/presentation/utils.py
@@
-67,6
+67,7
@@
def relative_change(nr1, nr2):
return float(((nr2 - nr1) / nr1) * 100)
+
def remove_outliers(input_list, outlier_const=1.5, window=14):
"""Return list with outliers removed, using split_outliers.