Time Series Forecasting
TimesFM
Safetensors
ImMahdi commited on
Commit
4ffcc13
·
verified ·
1 Parent(s): a0c9fd0

Update README.md

Browse files

forecast_input = [
np.sin(np.linspace(0, 20, 100))
np.sin(np.linspace(0, 20, 200)),
np.sin(np.linspace(0, 20, 400)),
]
--- >
forecast_input = [
np.sin(np.linspace(0, 20, 100)),
np.sin(np.linspace(0, 20, 200)),
np.sin(np.linspace(0, 20, 400)),
]

Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -77,6 +77,7 @@ We provide APIs to forecast from either array inputs or `pandas` dataframe. Both
77
 
78
  In particular, regarding the frequency, TimesFM expects a categorical indicator valued in {0, 1, 2}:
79
 
 
80
  - **0** (default): high frequency, long horizon time series. We recommend using this for time series up to daily granularity.
81
  - **1**: medium frequency time series. We recommend using this for weekly and monthly data.
82
  - **2**: low frequency, short horizon time series. We recommend using this for anything beyond monthly, e.g. quarterly or yearly.
@@ -97,7 +98,7 @@ Array inputs, with the frequencies set to low, medium, and high respectively.
97
  ```python
98
  import numpy as np
99
  forecast_input = [
100
- np.sin(np.linspace(0, 20, 100))
101
  np.sin(np.linspace(0, 20, 200)),
102
  np.sin(np.linspace(0, 20, 400)),
103
  ]
 
77
 
78
  In particular, regarding the frequency, TimesFM expects a categorical indicator valued in {0, 1, 2}:
79
 
80
+
81
  - **0** (default): high frequency, long horizon time series. We recommend using this for time series up to daily granularity.
82
  - **1**: medium frequency time series. We recommend using this for weekly and monthly data.
83
  - **2**: low frequency, short horizon time series. We recommend using this for anything beyond monthly, e.g. quarterly or yearly.
 
98
  ```python
99
  import numpy as np
100
  forecast_input = [
101
+ np.sin(np.linspace(0, 20, 100)),
102
  np.sin(np.linspace(0, 20, 200)),
103
  np.sin(np.linspace(0, 20, 400)),
104
  ]