PatchTST
An offical implementation of PatchTST: "A Time Series is Worth 64 Words: Long-term Forecasting with Transformers." (ICLR 2023) https://arxiv.org/abs/2211.14730
File Explorer
Download Latest Version (.zip)- __init__.py
- core.py
- distributed.py
- patch_mask.py
- scheduler.py
- tracking.py
- transforms.py
- __init__.py
- datamodule.py
- pred_dataset.py
- timefeatures.py
- attention.py
- basics.py
- heads.py
- pos_encoding.py
- revin.py
- __init__.py
- patchTST.py
- __init__.py
- basics.py
- learner.py
- metrics.py
- utils.py
- __init__.py
- datautils.py
- patchtst_finetune.py
- patchtst_pretrain.py
- patchtst_supervised.py
- data_factory.py
- data_loader.py
- exp_basic.py
- exp_main.py
- data_factory.py
- data_loader.py
- exp_basic.py
- exp_main.py
- AutoCorrelation.py
- Autoformer_EncDec.py
- Embed.py
- FourierCorrelation.py
- MultiWaveletCorrelation.py
- SelfAttention_Family.py
- Transformer_EncDec.py
- utils.py
- Autoformer.py
- FEDformer.py
- Informer.py
- Transformer.py
- LongForecasting.sh
- LookBackWindow.sh
- masking.py
- metrics.py
- timefeatures.py
- tools.py
- LICENSE
- README.md
- run.py
- lib_hierarchical_mm_float32_cuda.so
- embed.py
- graph_attention.py
- hierarchical_mm_tvm.py
- Layers.py
- Modules.py
- PAM_TVM.py
- Pyraformer_LR.py
- Pyraformer_SS.py
- SubLayers.py
- LongForecasting.sh
- LookBackWindow.sh
- timefeatures.py
- tools.py
- data_loader.py
- LEGAL.md
- LICENSE
- long_range_main.py
- preprocess_elect.py
- preprocess_flow.py
- preprocess_wind.py
- README.md
- requirements.txt
- simulate_sin.py
- single_step_main.py
- Autoformer.sh
- Informer.sh
- Transformer.sh
- AutoCorrelation.py
- Autoformer_EncDec.py
- Embed.py
- PatchTST_backbone.py
- PatchTST_layers.py
- RevIN.py
- SelfAttention_Family.py
- Transformer_EncDec.py
- Autoformer.py
- DLinear.py
- Informer.py
- Linear.py
- NLinear.py
- PatchTST.py
- Stat_models.py
- Transformer.py
- etth1.sh
- etth2.sh
- ettm1.sh
- ettm2.sh
- electricity.sh
- etth1.sh
- etth2.sh
- ettm1.sh
- ettm2.sh
- exchange_rate.sh
- ili.sh
- traffic.sh
- weather.sh
- etth1.sh
- etth2.sh
- ettm1.sh
- ettm2.sh
- electricity.sh
- etth1.sh
- etth2.sh
- ettm1.sh
- ettm2.sh
- illness.sh
- traffic.sh
- weather.sh
- masking.py
- metrics.py
- timefeatures.py
- tools.py
- requirements.txt
- run_longExp.py
- model.png
- table3.png
- table4.png
- table5.png
- table6.png
- varying_L.png
- .gitattributes
- .gitignore
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/yuqinie98/PatchTST
Downloads the entire project code from GitHub to your computer.
cd PatchTST
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r PatchTST_supervised/Formers/Pyraformer/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
