MobileTeleSystems / Ambrosia

Ambrosia is a Python library for A/B tests design, split and result measurement
Apache License 2.0
223 stars 16 forks source link

Storable Preprocessor and VarReduction classes changes #29

Closed xandaau closed 1 year ago

xandaau commented 1 year ago

Preprocessor class transformations now can be stored and loaded using json file. Methods of Cuped, MultiCuped and MLVarianceReducer classes are changed in the way to be similar to other data transformers and processors. #15

codecov[bot] commented 1 year ago

Codecov Report

Merging #29 (1a904d9) into dev (95d6366) will increase coverage by 0.90%. The diff coverage is 84.77%.

:exclamation: Current head 1a904d9 differs from pull request most recent head 5b94cfb. Consider uploading reports for the commit 5b94cfb to get more accurate results

@@            Coverage Diff             @@
##              dev      #29      +/-   ##
==========================================
+ Coverage   84.71%   85.62%   +0.90%     
==========================================
  Files          42       42              
  Lines        3003     3039      +36     
==========================================
+ Hits         2544     2602      +58     
+ Misses        459      437      -22     
Impacted Files Coverage Δ
ambrosia/preprocessing/robust.py 89.23% <33.33%> (+7.65%) :arrow_up:
ambrosia/tools/log.py 57.57% <48.14%> (-9.10%) :arrow_down:
ambrosia/preprocessing/ml_var_reducer.py 80.43% <83.33%> (+2.41%) :arrow_up:
ambrosia/tools/ab_abstract_component.py 92.10% <88.88%> (+2.58%) :arrow_up:
ambrosia/preprocessing/preprocessor.py 81.73% <93.33%> (+15.50%) :arrow_up:
ambrosia/preprocessing/cuped.py 98.03% <97.26%> (+8.31%) :arrow_up:
ambrosia/preprocessing/aggregate.py 92.30% <100.00%> (+0.09%) :arrow_up:
ambrosia/preprocessing/transformers.py 93.68% <100.00%> (+0.06%) :arrow_up:
ambrosia/tools/back_tools.py 100.00% <100.00%> (ø)
... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.