octoenergy / timeserio

Better `keras` models for time series and beyond
MIT License
61 stars 16 forks source link

Add rolling mean Pandas featurizer. #22

Closed JayeCribb closed 4 years ago

JayeCribb commented 4 years ago

Previous to the commit, the LagFeaturizer class only dealt with shifted values. I've used the majority of the code to turn this into a base class that can be used to create numerous types of lagged features and have added a rolling mean featurizer.

codecov-commenter commented 4 years ago

Codecov Report

Merging #22 into master will increase coverage by 16.02%. The diff coverage is 88.88%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #22       +/-   ##
===========================================
+ Coverage   72.79%   88.81%   +16.02%     
===========================================
  Files          34       34               
  Lines        1665     1690       +25     
===========================================
+ Hits         1212     1501      +289     
+ Misses        453      189      -264     
Impacted Files Coverage Δ
timeserio/preprocessing/datetime.py 95.54% <88.88%> (+58.42%) :arrow_up:
timeserio/version.py 89.58% <0.00%> (+4.16%) :arrow_up:
timeserio/preprocessing/pandas.py 89.15% <0.00%> (+6.02%) :arrow_up:
timeserio/pipeline/multipipeline.py 88.88% <0.00%> (+11.11%) :arrow_up:
timeserio/data/mock.py 95.91% <0.00%> (+12.24%) :arrow_up:
timeserio/batches/single/sequence.py 88.88% <0.00%> (+12.82%) :arrow_up:
timeserio/preprocessing/utils.py 88.23% <0.00%> (+17.64%) :arrow_up:
timeserio/pipeline/pipeline.py 100.00% <0.00%> (+33.98%) :arrow_up:
timeserio/preprocessing/encoding.py 87.87% <0.00%> (+41.41%) :arrow_up:
... and 2 more

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 2072693...058828c. Read the comment docs.