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

Preprocessing enhancement #22

Closed xandaau closed 1 year ago

xandaau commented 1 year ago

Code draft for the pandas data preprocessing tools enhancement. Linked issues: #14 #21

After the discussion, draft code will be edited, docstrings and tests written.

codecov-commenter commented 1 year ago

Codecov Report

Merging #22 (ccf4b16) into dev (b97370e) will decrease coverage by 0.33%. The diff coverage is 84.47%.

@@            Coverage Diff             @@
##              dev      #22      +/-   ##
==========================================
- Coverage   84.21%   83.88%   -0.33%     
==========================================
  Files          40       41       +1     
  Lines        2743     3016     +273     
==========================================
+ Hits         2310     2530     +220     
- Misses        433      486      +53     
Impacted Files Coverage Δ
ambrosia/preprocessing/ml_var_reducer.py 78.02% <43.75%> (-8.23%) :arrow_down:
ambrosia/preprocessing/preprocessor.py 68.49% <69.23%> (+1.10%) :arrow_up:
ambrosia/preprocessing/cuped.py 89.71% <70.00%> (-0.64%) :arrow_down:
ambrosia/tools/ab_abstract_component.py 89.51% <88.88%> (+1.55%) :arrow_up:
ambrosia/preprocessing/robust.py 81.52% <90.47%> (+6.52%) :arrow_up:
ambrosia/preprocessing/__init__.py 100.00% <100.00%> (ø)
ambrosia/__init__.py 100.00% <0.00%> (ø)
ambrosia/tools/log.py 100.00% <0.00%> (+33.33%) :arrow_up:

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