The lag shifting method will be implemented in the time.py module. When initializing the AdventCalendar object, a calendar with counting backward time intervals is created. The user need to provide the target time range and the maximum lag value to finalize the calendar by "trimming" those intervals.
The lag shifting method will be implemented in the
time.py
module. When initializing theAdventCalendar
object, a calendar with counting backward time intervals is created. The user need to provide the target time range and the maximum lag value to finalize the calendar by "trimming" those intervals.For reference, the relevant legacy codes are: https://github.com/AI4S2S/proto/blob/0dd397f6101573544f10a55a4205e037e69acdfe/forecasting/func_models.py#L153
Our previous discussion about the design of this module can be found in https://github.com/AI4S2S/proto/issues/3.