# PaddleTS
**Repository Path**: jkException/PaddleTS
## Basic Information
- **Project Name**: PaddleTS
- **Description**: PaddleTS-百度时序预测和时间序列异常检测库
- **Primary Language**: Python
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 2
- **Created**: 2024-04-02
- **Last Updated**: 2024-04-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[简体中文](./README_cn.md) | **English**
------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------
PaddleTS - PaddlePaddle-based Time Series Modeling in Python
PaddleTS is an easy-to-use Python library for deep time series modeling,
focusing on the state-of-the-art deep neural network models based on
PaddlePaddle deep learning framework. It aims to provide great flexibility
and excellent user experiences for practitioners and professionals. It’s featured with:
* A unified data structure named TSDataset for representing time series data with one
or multiple target variables and optional different kinds of covariates
(e.g. known covariates, observed covariates, static covariates, etc.)
* A base model class named PaddleBaseModelImpl , which inherits from the PaddleBaseModel
and further encapsulates some routine procedures (e.g. data loading, callbacks setup,
loss computation, training loop control, etc.) and allows developers to focus on
the implementation of network architectures when developing new models
* A set of state-of-the-art deep learning models containing
NBEATS, NHiTS, LSTNet, TCN, Transformer, DeepAR, Informer, etc. for forecasting,
TS2Vec, CoST, etc. for representation,
AutoEncoder, VAE, AnomalyTransformer, etc. for anomaly detection
* A set of transformation operators for data preprocessing (e.g. missing values/outliers handling,
one-hot encoding, normalization, and automatic date/time-related covariates generation, etc.)
* A set of analysis operators for quick data exploration (e.g. basic statistics and summary)
* Automatic time series modeling module (AutoTS) which supports mainstream Hyper Parameter Optimization algorithms and shows significant improvement on multiple models and datasets
* Third-party (e.g. scikit-learn, [pyod](https://github.com/yzhao062/pyod)) ML models & data transformations integration
* Time series model ensemble
##
最新动态
* [2023-09-01] :fire::fire: [PaddleX](http://10.136.157.23:8080/paddle/paddleX) releases version 2.0, provides a one-stop full-process high-efficiency development platform for flying paddle ecological model training, pressure, and push. Its mission is to help AI technology quickly land, and its vision is to make everyone an AI Developer!
* PaddleTS now supports time series classification
* PaddleTS releases 6 new time series models.
USAD(UnSupervised Anomaly Detection) and MTAD-GAT(Multivariate Time-series Anomaly Detection via Graph Attention Network) for anomaly detection,
CNN and Inception Time for time series classification,
SCINet(Sample Convolution and Interaction Network) and TFT(Temporal Fusion Transformer) for forecasting
* [Paddle Inference](https://www.paddlepaddle.org.cn/paddle/paddleinference) is now available for PaddleTS time series forecasting and anomaly detection
* PaddleTS now supports both model-agnostic and model-specific explanation
* PaddleTS now supports representation-based time series cluster and classification
Please also see [release notes](https://github.com/PaddlePaddle/PaddleTS/wiki/Release-Notes) to get exhaustive update lists.
In the future, more advanced features will be coming, including:
* More time series models
* Scenario-specific pipelines which aim to provide an end-to-end solution for solving real-world business problems
* And more
##
Technical exchange and cooperation
[PaddleX](http://10.136.157.23:8080/paddle/paddleX) provides a one-stop development platform for selected models of PaddlePaddle, which can complete the full process development of data, training, evaluation and reasoning of common AI tasks through four buttons.
- PaddleX currently covers areas such as image classification, object detection, image segmentation, 3D, OCR, and time series prediction, and has built-in 36 basic single models, such as RP-DETR, PP-YOLOE, PP-HGNet, PP-LCNet, PP- LiteSeg, PP-TS, TimesNet, PatchTST, etc.; integrated 12 practical industrial solutions, such as PP-OCRv4, PP-ChatOCR, PP-ShiTu, PP-TS, vehicle-mounted road waste detection, identification of prohibited wildlife products, etc.
- PaddleX provides two AI development modes: "Toolbox" and "Developer". The toolbox mode can tune key hyperparameters without code, and the developer mode can perform single-model training, push and multi-model serial inference with low code, and supports both cloud and local terminals.
- PaddleX also supports joint innovation and development, profit sharing! At present, PaddleX is rapidly iterating, and welcomes the participation of individual developers and enterprise developers to create a prosperous AI technology ecosystem!
Scan the QR code below on WeChat to add operation students, and reply [paddlex], operation students will invite you to join the official communication group for more efficient questions and answers.
[PaddleX] technology exchange group QR code
## More About PaddleTS
Specifically, PaddleTS consists of the following modules:
| Module | Description |
|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|
| [**paddlets.datasets**](https://paddlets.readthedocs.io/en/latest/source/modules/datasets/overview.html) | Unified time series representation (TSDataset) and data repository with pre-built TSDatasets. |
| [**paddlets.autots**](https://paddlets.readthedocs.io/en/latest/source/modules/autots/overview.html) | Automatic hyper-parameter tuning. |
| [**paddlets.transform**](https://paddlets.readthedocs.io/en/latest/source/modules/transform/overview.html) | Data preprocessing and data transformations. |
| [**paddlets.models.forecasting**](https://paddlets.readthedocs.io/en/latest/source/modules/models/overview.html) | PaddlePaddle-based deep neural network models for time series forecasting. |
| [**paddlets.models.representation**](https://paddlets.readthedocs.io/en/latest/source/modules/models/representation.html) | PaddlePaddle-based deep neural network models for time series representation. |
| [**paddlets.models.anomaly**](https://paddlets.readthedocs.io/en/latest/source/modules/models/anomaly.html) | PaddlePaddle-based deep neural network models for time series anomaly detection. |
| [**paddlets.models.classify**](https://paddlets.readthedocs.io/en/latest/source/api/paddlets.models.classify.html) | PaddlePaddle-based deep neural network models for time series classification. |
| [**paddlets.pipeline**](https://paddlets.readthedocs.io/en/latest/source/modules/pipeline/overview.html) | Pipeline for building time series analysis and modeling workflows. |
| [**paddlets.metrics**](https://paddlets.readthedocs.io/en/latest/source/modules/metrics/overview.html) | Metrics for measuring the performance of a model. |
| [**paddlets.analysis**](https://paddlets.readthedocs.io/en/latest/source/modules/analysis/overview.html) | Quick data exploration and advanced data analysis. |
| [**paddlets.ensemble**](https://paddlets.readthedocs.io/en/latest/source/modules/ensemble/overview.html) | Time series ensemble methods. |
| [**paddlets.xai**](https://paddlets.readthedocs.io/en/latest/source/api/paddlets.xai.html) | Model-agnostic and model-specific explanation for time series modeling. |
| [**paddlets.utils**](https://paddlets.readthedocs.io/en/latest/source/modules/backtest/overview.html) | Utility functions. |
## Installation
### Prerequisites
* python >= 3.7
* paddlepaddle >= 2.3
Install paddlets via pip:
```bash
pip install paddlets
```
To get more detailed information, please refer to [Installation](https://paddlets.readthedocs.io/en/latest/source/installation/overview.html).
## Documentation
* [Get Started](https://paddlets.readthedocs.io/en/latest/source/get_started/get_started.html)
* [API Reference](https://paddlets.readthedocs.io/en/latest/source/api/paddlets.analysis.html)
## Community
Feel free to scan below WeChat QR code to join PaddleTS community for technical discussion with PaddleTS maintainers and community members:
## Contributions
We appreciate all kinds of contributions. Please let us know if you encounter any bug by [filing an issue](https://github.com/PaddlePaddle/PaddleTS/issues).
If you are willing to contribute back bug-fixes, please go ahead without any further discussion.
If you plan to contribute new features, utility functions, or extensions to the core, please first open an issue and discuss with us.
Sending a PR without discussion might end up with rejection because we might be taking the core in a different direction than you might be aware of.
## License
PaddleTS has an Apache-style license, as found in the [LICENSE](LICENSE) file.