[英]Temporal Fusion Transformer
我有 5 個月(153 天)的每日銷售數據。 我想預測未來 30 天的銷售額。 我使用 Temporal Fusion Transformer 構建了時間序列 model。在這種情況下,如果我設置 max_prediction_length = 7,max_encoder_length = 21 就 ...
[英]Temporal Fusion Transformer
我有 5 個月(153 天)的每日銷售數據。 我想預測未來 30 天的銷售額。 我使用 Temporal Fusion Transformer 構建了時間序列 model。在這種情況下,如果我設置 max_prediction_length = 7,max_encoder_length = 21 就 ...
[英]How to give TemporalFusionTransformer model a name?
我正在創建.py腳本來預處理一些數據,然后訓練TemporalFusionTransformer model。 訓練結束后,我有一個 function 將評估指標記錄在一個.txt文件中,其名稱應為model_name@datetime.txt 。 我在文檔、論壇、文章中查看、搜索過的所有地方,都 ...
[英]Shuffling of time series data in pytorch-forecasting
我正在使用 pytorch 預測計數時間序列。 我有一些日期信息,例如一天中的小時,一周中的一天,一個月中的一天等...... 當我使用time_varying_known_categoricals將這些作為TimeSeriesDataSet中的分類變量分配時, training.data['cat ...
[英]RuntimeError: quantile() q tensor must be same dtype as the input tensor in pytorch-forecasting
PyTorch-預測版本:0.10.2 PyTorch版本:1.12.1 Python版本:3.10.4 操作系統:windows 預期行為沒有錯誤實際行為錯誤是文件 c:\Users\josepeeterson.er\Miniconda3\envs\pytorch\lib\site-pac ...
[英]Pytorch Temporal Fusion Transformer - TimeSeriesDataSet TypeError: '<' not supported between instances of 'int' and 'str'
我正在關注 PytorchForecasting 中的 Temporal-Fusion-Transformer (TFT) 教程( https://pytorch-forecasting.readthedocs.io/en/stable/tutorials/stallion.html#Demand- ...
[英]PyTorch Temporal Fusion Transformer prediction output length
我已經在一些訓練數據上訓練了一個時間融合變換器,並想對一些看不見的數據進行預測。 為此,我使用了pytorch_forecasting TimeSeriesDataSet數據結構 testing = TimeSeriesDataSet.from_dataset(training, df[lambda ...
[英]Temporal Fusion Transformer (Pytorch Forecasting): `hidden_size` parameter
PytorchForecasting package 中的 Temporal-Fusion-Transformer (TFT) model 有幾個參數(參見: https://pytorch-forecasting.readthedocs.io/en/latest/_modules/pytorch ...
[英]Pytorch Forecasting vs Darts, experiences welcome
I was wondering which package to use between pytorch forecasting ( https://pytorch-forecasting.readthedocs.io/en/stable/ ) or darts ( https://unit8co ...
[英]Unknown category '2' encountered. Set `add_nan=True` to allow unknown categories pytorch_forecasting
錯誤:“遇到未知類別‘2’。在 pytorch 預測中創建時間序列數據集時設置add_nan=True以允許未知類別”。 ) ...