Closed filipecosta90 closed 2 years ago
Merging #22 (4165665) into master (f6ee51b) will increase coverage by
1.73%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #22 +/- ##
==========================================
+ Coverage 84.98% 86.71% +1.73%
==========================================
Files 1 1
Lines 253 286 +33
==========================================
+ Hits 215 248 +33
Misses 38 38
Impacted Files | Coverage Δ | |
---|---|---|
src/tdigest.c | 86.71% <100.00%> (+1.73%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f6ee51b...4165665. Read the comment docs.
Fixes #16 . This PR adds the following 2 new APIs:
td_trimmed_mean
: Returns the trimmed mean ignoring values outside given cutoff upper and lower limitstd_trimmed_mean_symmetric
: Returns the trimmed mean ignoring values outside given a symmetric cutoff limitsTo test out I've used scipy's stats
trim_mean
To get a grasp of the trimmed means performance I've added a set of benchmarks. Here are the full benchmark results: