TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Python
Update src/timesfm.py
Sarthak Mishra38865205f953
diff --git a/src/timesfm.py b/src/timesfm.pyindex 0de4062..33b82e2 100644--- a/src/timesfm.py+++ b/src/timesfm.py@@ -70,7 +70,7 @@ def freq_map(freq: str):or freq.endswith("U")):return 0- elif freq.endswith("W") or freq.endswith("M") or freq.endswith("MS"):+ elif freq.endswith(("W", "M", "MS")):return 1elif freq.endswith("Y") or freq.endswith("Q"):return 2