LongxingTan/Time-series-prediction
tfts: Time Series Deep Learning Models in TensorFlow
What it solves
Building and comparing deep learning models for time series tasks (prediction, classification, anomaly detection) often requires a lot of boilerplate and many distinct architectures. TFTS provides a consistent, simple interface to access a range of classical and modern models (RNN, TCN, Transformer, etc.) without needing to write each model from scratch. It also includes a KerasTrainer to handle the training loop and utilities to save/restore models and generate predictions.
How it works
TFTS is built on TensorFlow/Keras. You pick a model by name (like "seq2seq" or "informer") with AutoConfig, then create a forecasting model with AutoModelForForecasting. Data is passed as 3D arrays (batch, time steps, features) or as TensorFlow datasets. A KerasTrainer runs the training loop. The same AutoModel API can restore saved models for inference. The README also shows how to plug in custom embeddings or head layers for tasks like classification or anomaly detection.
Who it's for
Data scientists, researchers, and competition participants who work with time series and want a quick way to prototype, train, and deploy deep learning models in TensorFlow without writing a lot of glue code.
Highlights
- Supports a wide range of models: RNN, TCN, BERT, N-BEATS, DLinear, Seq2Seq, WaveNet, Transformer, Informer, Autoformer, and Temporal Fusion Transformer.
- Works for prediction, classification, and anomaly detection (examples provided).
- Simple API with AutoConfig, AutoModel, and KerasTrainer to reduce boilerplate.
- Demonstrated success: 3rd place in KDD Cup 2022 and 4th place in Tianchi-ENSO prediction.
- Can be extended with custom embeddings and head layers.
Related
- Project
- Project
- Project
- Project
- Project