Registry / ai-ml / ai4ts
library0.0.3pypypiunverified

AI4TS (AI for Time Series) is a Python library for time series forecasting, classification, and anomaly detection using deep learning. Current version: 0.0.3, released 2023-11. The library is in early development with frequent releases.

pip install ai4ts
INSTALL
IMPORT
SIG · AI4TS
A
ai4ts
ai-mlpythonv0.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TSDataset
✓ from ai4ts.datasets import TSDataset
✗ from ai4ts import TSDataset
TSDataset is under datasets submodule
TimeSeriesForecaster
✓ from ai4ts.models import TimeSeriesForecaster
✗ from ai4ts import TimeSeriesForecaster
Model classes are under models submodule

Load a sample dataset and train a simple forecaster.

from ai4ts.datasets import TSDataset from ai4ts.models import TimeSeriesForecaster import torch dataset = TSDataset() X, y = dataset.load_data('airline') model = TimeSeriesForecaster(input_size=1, hidden_size=64, num_layers=2) model.train(X, y, epochs=10)
Debug
Known issues
gotchaThe library is in early alpha (v0.0.3). APIs are unstable and may change without notice.
fix
Pin to exact version and monitor GitHub for changes.
affects: <=0.0.3
deprecatedSome dataset loading functions use a different signature in GitHub examples vs. installed version. Check version compatibility.
fix
Refer to the documentation for your installed version; use `pip show ai4ts` to verify.
affects: 0.0.3
Upgrade
Version history
0.0.3latest on PyPI · released Sep 14, 2024
Audit
Dependencies
torchrequiredDeep learning backend
numpyrequiredData manipulation
Agent activity
65 hits · last 30 days
node
54
Anthropic
1
OpenAI (training)
1
Resources
ai4ts — pip install ai4ts · libregistry