SkillAgentSearch skills...

BasicTS

A Fair and Scalable Time Series Forecasting Benchmark and Toolkit.

Install / Use

/learn @GestaltCogTeam/BasicTS
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <img src="assets/Basic-TS-logo-for-white.png#gh-light-mode-only" height=200> <img src="assets/Basic-TS-logo-for-black.png#gh-dark-mode-only" height=200> <h3><b> A Fair and Scalable Time Series Analysis Benchmark and Toolkit. </b></h3> </div> <div align="center">

English | 简体中文

</div>
<div align="center">

EasyTorch LICENSE PyTorch PyTorch python lint

</div> <div align="center">

🎉 Getting Started | 💡 Overall Design

📦 Dataset | 🛠️ Scaler | 🧠 Model | 📉 Metrics | 🏃‍♂️ Runner | 📜 Config | 📜 Baselines

</div>

BasicTS (Basic Time Series) is a benchmark library and toolkit designed for time series analysis. It now supports a wide range of tasks and datasets such as spatial-temporal forecasting, long-term time series forecasting, classification, and imputation. It covers various types of algorithms such as statistical models, machine learning models, and deep learning models, making it an ideal tool for developing and evaluating time series analysis models. You can find detailed tutorials in Getting Started.

📢 Latest Updates

🎉 Update (Oct 2025): BasicTS now has built-in support for Selective Learning (NeurIPS'25), an effective training strategy to mitigate overfitting and enhance model performance and generalization. Users can import and use it directly from the callback module. Usage Guide

🎉 Update (Oct 2025): BasicTS version 1.0 is released! New Features:

  • 🚀 Quick Start with Three Lines of Code: Install via pip, minimal API design for rapid model training and evaluation.
  • 📦 Modular Components, Ready to Use: Provides plug-and-play components like Transformers and MLPs, allowing you to build your own model like building blocks.
  • 🔄 Multi-Task Support: Natively supports core tasks in time series analysis, including forecasting, classification, and imputation.
  • 🔧 Highly Extensible Architecture: Based on Taskflow and Callback mechanisms, enabling easy customization without modifying the Runner.

🎉 Update (May 2025): BasicTS now supports training universal forecasting models (e.g., TimeMoE and ChronosBolt) using the BLAST (KDD'25) corpus. BLAST enables faster convergence, significantly reduced computational costs, and achieves superior performance even with limited resources.

If you find this project helpful, please don't forget to give it a ⭐ Star to show your support. Thank you!

[!IMPORTANT] If you find this repository helpful for your work, please consider citing the following benchmarking paper:

@article{shao2024exploring,
 title={Exploring progress in multivariate time series forecasting: Comprehensive benchmarking and heterogeneity analysis},
 author={Shao, Zezhi and Wang, Fei and Xu, Yongjun and Wei, Wei and Yu, Chengqing and Zhang, Zhao and Yao, Di and Sun, Tao and Jin, Guangyin and Cao, Xin and others},
 journal={IEEE Transactions on Knowledge and Data Engineering},
 year={2024},
 volume={37},
 number={1},
 pages={291-305},
 publisher={IEEE}
}

🔥🔥🔥 The paper has been accepted by IEEE TKDE! You can check it out here. 🔥🔥🔥

✨ Highlighted Features

On one hand, BasicTS provides a unified and standardized pipeline, offering a fair and comprehensive platform for reproducing and comparing popular models.

On the other hand, BasicTS offers a user-friendly and easily extensible interface, enabling quick design and evaluation of new models. Users can simply define their model structure and easily perform basic operations.

Fair Performance Review

Users can compare the performance of different models on arbitrary datasets fairly and exhaustively based on a unified and comprehensive pipeline.

Developing with BasicTS

<details> <summary><b>Minimum Code</b></summary> Users only need to implement key codes such as model architecture and data pre/post-processing to build their own deep learning projects. </details> <details> <summary><b>Everything Based on Config</b></summary> Users can control all the details of the pipeline through a config file, such as the hyperparameter of dataloaders, optimization, and other tricks (*e.g.*, curriculum learning). </details> <details> <summary><b>Support All Devices</b></summary> BasicTS supports CPU, GPU and GPU distributed training (both single node multiple GPUs and multiple nodes) thanks to using EasyTorch as the backend. Users can use it by setting parameters without modifying any code. </details> <details> <summary><b>Save Training Log</b></summary> Support `logging` log system and `Tensorboard`, and encapsulate it as a unified interface, users can save customized training logs by calling simple interfaces. </details>

🚀 Installation and Quick Start

For detailed instructions, please refer to the Getting Started tutorial.

📦 Supported Baselines

BasicTS implements a wealth of models, including classic models, spatial-temporal forecasting models, and long-term time series forecasting model, and universal forecasting models.

You can find the implementation of these models in the baselines directory.

The code links (💻Code) in the table below point to the official implementations from these papers. Many thanks to the authors for open-sourcing their work!

<details open> <summary><h3>Universal Forecasting Models</h3></summary>

| 📊Baseline | 📝Title | 📄Paper | 💻Code | 🏛Venue | 🎯Task | | :--------- | :------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------- | :----- | | TimeMoE | Time-MoE: Billion-Scale Time Series Foundation Models with Mixture of Experts | Link | Link | ICLR'25 | UFM | | ChronosBolt | Chronos: Learning the Language of Time Series | Link | Link | TMLR'24 | UFM | MOIRAI (inference) | Unified Training of Universal Time Series Forecasting Transformers | Link | Link | ICML'24 | UFM |

</details> <details open> <summary><h3>Spatial-Temporal Forecasting</h3></summary>

| 📊Baseline | 📝Title | 📄Paper | 💻Code | 🏛Venue | 🎯Task | | :--------- | :------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------- | :----- | | STDN | Spatiotemporal-aware Trend-Seasonality Decomposition Network for Traffic Flow Forecasting | Link | Link | AAAI'25 | STF | | HimNet | Heterogeneity-Informed Meta-Parameter Learning for Spatiotemporal Time Series Forecasting | Link | Link | SIGKDD'24 | STF | | DFDGCN | Dynamic Frequency Domain Graph Convolutional Network for Traffic Forecasting | Link | Link

Related Skills

View on GitHub
GitHub Stars1.7k
CategoryDevelopment
Updated18h ago
Forks211

Languages

Python

Security Score

100/100

Audited on Mar 27, 2026

No findings