Skip to content

Commit 8ec68bf

Browse files
committed
fix docs examples
1 parent f182899 commit 8ec68bf

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/source/user_guide/operators/forecast_operator/multivariate.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@ If the historical data includes a ``target_category_column``, it should also be
1515

1616
For example, if the historical data is:
1717

18-
==== =========
19-
Qtr Revenue
20-
==== =========
21-
Q1 1200
22-
Q2 1300
23-
Q3 1500
24-
==== =========
18+
=========== =========
19+
Month Revenue
20+
=========== =========
21+
01-01-2024 1200
22+
01-02-2024 1300
23+
01-03-2024 1500
24+
=========== =========
2525

2626
Then the additional data (with a horizon of 1) should be formatted as:
2727

28-
==== ======== ======== ==============
29-
Qtr COGS Discount SP500 Futures
30-
==== ======== ======== ==============
31-
Q1 100 0 1.02
32-
Q2 100 0.1 1.03
33-
Q3 105 0 1.04
34-
Q4 105 0.1 1.01
35-
==== ======== ======== ==============
28+
=========== ======== ======== ==============
29+
Month COGS Discount SP500 Futures
30+
=========== ======== ======== ==============
31+
01-01-2024 100 0 1.02
32+
01-02-2024 100 0.1 1.03
33+
01-03-2024 105 0 1.04
34+
01-04-2024 105 0.1 1.01
35+
=========== ======== ======== ==============
3636

3737
Note that the additional data does not include the target column (Revenue), but it does include the datetime column (Qtr). You would include this additional data in the YAML file as follows:
3838

@@ -43,7 +43,7 @@ Note that the additional data does not include the target column (Revenue), but
4343
version: v1
4444
spec:
4545
datetime_column:
46-
name: Qtr
46+
name: Month
4747
historical_data:
4848
url: historical_data.csv
4949
additional_data:
@@ -61,7 +61,7 @@ You can experiment by removing columns and observing how the results change. Bel
6161
version: v1
6262
spec:
6363
datetime_column:
64-
name: Qtr
64+
name: Month
6565
historical_data:
6666
url: historical_data.csv
6767
additional_data:

0 commit comments

Comments
 (0)