TFB
收藏资源简介:
TFB是一个自动化的时间序列预测方法基准,包含来自10个不同领域的数据集,用于评估和比较统计学习、机器学习和深度学习方法。
TFB is an automated benchmark for time series forecasting methods. It incorporates datasets from 10 distinct domains and is designed to evaluate and compare statistical learning, machine learning, and deep learning methods.
TFB: Towards Comprehensive and Fair Benchmarking of Time Series Forecasting Methods
简介
TFB是一个为时间序列预测研究设计的开源库。它提供了一个干净的代码库,用于端到端评估时间序列预测模型,并与各种评估策略和指标下的基线算法进行性能比较。
快速开始
安装
从PyPI
在Python 3.8环境下,使用以下命令安装依赖项:
shell pip install -r requirements.txt
从Docker
提供了Dockerfile,需要安装Docker服务:
shell docker build . -t tfb:latest docker run -it -v $(pwd)/:/app/ tfb:latest bash
数据准备
从Google Drive获取预处理好的数据集,并将其放置在./dataset文件夹下。
训练和评估模型
提供了所有基准测试的实验脚本,位于./scripts/multivariate_forecast和./scripts/univariate_forecast文件夹下。例如,可以按以下方式复现实验结果:
shell sh ./scripts/multivariate_forecast/ILI_script/DLinear.sh
开发自己的方法
提供了如何开发自己方法的教程。
评估自己的时间序列
提供了如何评估自己时间序列的教程。
常见问题
如何在Pycharm中运行代码?
在Pycharm中运行时,请转义双引号,去除空格,并去除开头和结尾的单引号。
引用
如果发现此仓库有用,请引用我们的论文:
@article{qiu2024tfb, author = {Xiangfei Qiu and others}, title = {{TFB:} Towards Comprehensive and Fair Benchmarking of Time Series Forecasting Methods}, journal = {Proc. {VLDB} Endow.}, volume = {17}, number = {9}, pages = {2363--2377}, year = {2024} }
联系
如有任何问题或建议,请联系:
- Xiangfei Qiu (xfqiu@stu.ecnu.edu.cn)
- Xingjian Wu (xjwu@stu.ecnu.edu.cn)

- 1TFB: Towards Comprehensive and Fair Benchmarking of Time Series Forecasting Methods · 2024年



