Enterprise-grade multi-SKU time-series forecasting engine
Project description
faro-core
Enterprise-grade multi-SKU time-series forecasting engine. Train and compare multiple models (LightGBM, XGBoost, Prophet, ARIMA, ETS, SARIMAX) per SKU/group with automatic feature engineering and walk-forward validation.
Installation
pip install faro-core
Quick Start
from forecasting_core import ForecastEngine
engine = (
ForecastEngine()
.load_data("sales.csv")
.choose_columns(target="sales", date="date", sku="item_id")
.configure_features(lags=[1, 7, 14], rolling=[7, 14, 28], calendar=True)
.configure_training(walk_forward=True, wfv_splits=3)
.configure_forecast(horizon=14)
.select_models(["lightgbm", "prophet", "ets"])
.train()
)
print(engine.get_metrics())
forecast = engine.predict(horizon=14)
From Config File
engine = ForecastEngine.from_config("session_config.json")
engine.train()
report = engine.generate_report()
Features
- Multi-model training per SKU: LightGBM, XGBoost, Prophet, ARIMA, ETS, SARIMAX
- Walk-forward validation with configurable splits
- Automatic feature engineering: lags, rolling stats, EWM, calendar features
- Colombia-specific holiday distances (Easter, Christmas)
- Model registry and ensemble support
- Inventory optimization: service level, safety stock
- Data drift monitoring
- Hyperparameter tuning
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
faro_core-1.0.0.tar.gz
(120.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
faro_core-1.0.0-py3-none-any.whl
(108.0 kB
view details)
File details
Details for the file faro_core-1.0.0.tar.gz.
File metadata
- Download URL: faro_core-1.0.0.tar.gz
- Upload date:
- Size: 120.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39ee9b4602a721799b9c4fbf638cf4ed8b481beaed9762bc58634acefac07c43
|
|
| MD5 |
8c044f0e5fb4a14c85539d9a3d152365
|
|
| BLAKE2b-256 |
ed31f7b45d551d0284290388737c0cfc7851c38d284673379497c4625d3298e6
|
File details
Details for the file faro_core-1.0.0-py3-none-any.whl.
File metadata
- Download URL: faro_core-1.0.0-py3-none-any.whl
- Upload date:
- Size: 108.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3be1690ec33e4aa47d2e11f9ff85dc176d07eeeb95d18ec118f574f980e6fc0b
|
|
| MD5 |
1029f9ab6e9a034db57f066cbcd418bb
|
|
| BLAKE2b-256 |
c323f023181f3a15481c9abee72dc6d306a74a106e12e8b2f881170e8effaf7d
|