RoyalHaskoningDHV / sam

Python package for time series analysis and machine learning
MIT License
26 stars 6 forks source link

Use lagged y features for `predict_ahead==0` should be possible #34

Closed rubenpeters91 closed 2 years ago

rubenpeters91 commented 2 years ago

SAM doesn't allow to use lagged features of the target, but also have predict_ahead==0. This was by design to prevent leaking data, however there could be a usecase where you only want lagged features of the target (not the target itself). This is however hard to check, but could be a nice addition.