MLBazaar / MLPrimitives

Primitives for machine learning and data science.
https://mlbazaar.github.io/MLPrimitives
MIT License
69 stars 38 forks source link

Accept timedelta and string in window_size in cutoff_window_sequences #240

Closed joanvaquer closed 3 years ago

joanvaquer commented 3 years ago

Resolves #239

Two files modified in order to guarantee that the window_size parameter of the primitive mlprimitives.custom.timeseries_preprocessing accepts pd.Timedelta objects and a str as well.

codecov-commenter commented 3 years ago

Codecov Report

Merging #240 into master will increase coverage by 1.33%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #240      +/-   ##
==========================================
+ Coverage   27.98%   29.31%   +1.33%     
==========================================
  Files          26       26              
  Lines        1619     1624       +5     
==========================================
+ Hits          453      476      +23     
+ Misses       1166     1148      -18     
Impacted Files Coverage Δ
mlprimitives/custom/timeseries_preprocessing.py 98.05% <100.00%> (+18.46%) :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 dd0570a...7850291. Read the comment docs.