docs: add tutorial on custom frequencies#597
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Experiment ResultsExperiment 1: air-passengersDescription:
Results:
Plot:Experiment 2: air-passengersDescription:
Results:
Plot:Experiment 3: electricity-multiple-seriesDescription:
Results:
Plot:Experiment 4: electricity-multiple-seriesDescription:
Results:
Plot:Experiment 5: electricity-multiple-seriesDescription:
Results:
Plot: |
|
I think it would be good to also include the integer frequency for highly irregular time series. Wdyt? |
|
I thought about what you suggested @marcopeix but I don't want to add another dataset as the tutorial already has 2. If it’s possible to use the |
You can use the PLT dataset. The PR looks good to me! Quick reminder, you must update the mint.json file with the new tutorial notebook! |
|
Thanks @marcopeix since the nb already exists, using the old name should be equivalent to changing the This is ready for review @AzulGarza |
| @@ -4,10 +4,29 @@ | |||
| "cell_type": "code", | |||
There was a problem hiding this comment.
Line #4. 'https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/air_passengers.csv',
Maybe we can set the url in a separate variable and use it in the function? I think it would make the code cleaner.
Reply via ReviewNB
| @@ -4,10 +4,29 @@ | |||
| "cell_type": "code", | |||
There was a problem hiding this comment.
Line #8. polars_df
I think we can remove this, since it won't be displayed in the notebook
Reply via ReviewNB
| @@ -4,10 +4,29 @@ | |||
| "cell_type": "code", | |||
There was a problem hiding this comment.
Line #1. pltr_df = pd.read_csv('https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/openbb/pltr.csv', parse_dates=['date'])
Same comment as before for the url. Feel free to disregard if you don't feel it's relevant.
Reply via ReviewNB
There was a problem hiding this comment.
Done, agree it is cleaner.





Description
This tutorial shows how to pass a custom frequency to TimeGPT, in particular, the days the US stock market is open.
This is necessary as several of our users working on financial forecasting use this frequency.