heidelbergcement / hcrystalball

A library that unifies the API for most commonly used libraries and modeling techniques for time-series forecasting in the Python ecosystem.
https://hcrystalball.readthedocs.io/
MIT License
152 stars 19 forks source link

Raise error if lags and horzion are bigger than len of the target #52

Closed MichalChromcak closed 3 years ago

MichalChromcak commented 3 years ago

fixes #49

codecov-io commented 3 years ago

Codecov Report

Merging #52 (fd6e945) into master (011f0dd) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   93.57%   93.61%   +0.04%     
==========================================
  Files          55       56       +1     
  Lines        2616     2633      +17     
==========================================
+ Hits         2448     2465      +17     
  Misses        168      168              
Impacted Files Coverage Δ
src/hcrystalball/wrappers/_sklearn.py 94.11% <100.00%> (+0.17%) :arrow_up:
tests/unit/wrappers/test_sarimax_wrapper.py 100.00% <100.00%> (ø)
tests/unit/wrappers/test_sklearn_wrapper.py 100.00% <100.00%> (ø)

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 724cfcf...fd6e945. Read the comment docs.