One-stop time series analysis tool, supporting time series data preprocessing, feature engineering, model training, model evaluation, and model prediction.
Project description
PipelineTS
一站式时间序列分析工具,支持时序数据预处理、特征工程、模型训练、模型评估、模型预测等。
安装
conda install -c conda-forge prophet
python -m pip install PipelineTS
快速开始
from PipelineTS.dataset import LoadWebSales
init_data = LoadWebSales()[['date', 'type_a']]
valid_data = init_data.iloc[-30:, :]
data = init_data.iloc[:-30, :]
from PipelineTS.pipeline import PipelineTS
# list all models
PipelineTS.list_models()
from sklearn.metrics import mean_absolute_error
pipeline = PipelineTS(
time_col='date',
target_col='type_a',
lags=30,
random_state=42,
metric=mean_absolute_error,
metric_less_is_better=True
)
# training all models
pipeline.fit(data, valid_df=valid_data)
# use best model to predict next 30 steps data point
res = pipeline.predict(30)
数据准备
# TODO
预处理
# TODO
特征工程
# TODO
模型训练
# TODO
模型评估
# TODO
模型预测
# TODO
模型部署
# TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PipelineTS-0.1.1.tar.gz
(20.1 kB
view details)
Built Distribution
File details
Details for the file PipelineTS-0.1.1.tar.gz
.
File metadata
- Download URL: PipelineTS-0.1.1.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 765a29ae1b82b0459558d620eda432e555f292c70a35a3508bb75d157463bbb7 |
|
MD5 | ce2aea34c9c94f274051e237b915201f |
|
BLAKE2b-256 | ecfebc28c00fa7b23ef1733893b0dd4275df8eba5c0d916e3a77ad4dc43b0ddd |
File details
Details for the file PipelineTS-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: PipelineTS-0.1.1-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79f5d31291701a3266ea18d1308703cb66b83779ec4bafcb2d19243016f003f |
|
MD5 | 85d2cfe3a99f3e87b6e21c35e5b6dc5a |
|
BLAKE2b-256 | 3299a9949679fd19fd601d26de57a2ef284e23994e2ea1e7349286bc44c8e507 |