This release is a pre-release and may not be stable for production use.
Sibyl: A Time-Seires Forecasting Package
Sibyl is a package for forecasting time series data with PyTorchLightning which is a lightweight PyTorch wrapper for Machine Learning Researchers.
Sibyl is released and maintained by Microsoft Substrate Connectivity Team.
Models
- Seq to Seq
- Long-short term memory
- Neural process
- Attentive neural process
Installation
Sibyl is avaialbe on PyPi, feel free to get it via pip:
pip install mssibyl
Quick Start
UPDATING ...
import pandas as pd
from mssibyl.models import BaseModel
from mssibyl.trainer import BaseTrainer
from mssibyl.datasets.utils import make_timeline
df = pd.read_csv("./data.csv")
df.columns = ["ds", "y"]
df_with_future = make_timeline(df, freq="H", periods=300)
args = {
"lookback": 48,
"forecast_horizon": 1,
"data": df_with_future,
"target": "y",
}
sibyl_model = BaseModel(args)
trainer = BaseTrainer(
max_epochs=100, gpus=1, show_progress_bar=False, early_stop_callback=True
)
trainer.fit(sibyl_model)
preds = sibyl_model.predict(interval=True, include_history=True)
preds.to_csv("res.csv", index=False)
Changelog
Version 0.1 (coming)
- Initial release
License
Sibyl is licensed under the MIT license
Metadata
Release files for mssibyl 0.1.1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mssibyl-0.1.1.dev0.tar.gz | 1.3 MB | Without provenance | Details for mssibyl-0.1.1.dev0.tar.gz |
Release files / mssibyl-0.1.1.dev0.tar.gz
| Download URL | mssibyl-0.1.1.dev0.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aca2d3def418f2a50a4d0c2b6c34c349752a11880b9a087f206c3c444e07d1f2
|
|
BLAKE2b-256 checksum How to use checksums |
94c1bde613d6b45c2ae2374fee3762976f92afc2c3ed661910b56ab4fb25b19b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
|
Security for mssibyl 0.1.1.dev0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.