mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-08-02 13:03:05 +08:00
fix for issue #42
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ def lags_for_fourier_time_features_from_frequency(
|
||||
lags = [[1, 2]]
|
||||
elif granularity == "H":
|
||||
lags = [[1, 24, 168]]
|
||||
elif granularity == "min":
|
||||
elif granularity in ("T", "min"):
|
||||
lags = [[1, 4, 12, 24, 48]]
|
||||
else:
|
||||
lags = [[1]]
|
||||
|
||||
Reference in New Issue
Block a user