{% extends "main.html" %} {% block tabs %} {{ super() }} {% endblock %} {% block content %}
One line of code. 30+ models. Zero configuration.
Pure Python — no compiled dependencies required.
From one-line forecasts to advanced adaptive intelligence — Vectrix scales with your needs.
Pass your data, get forecasts. Auto model selection, hyperparameter tuning, and flat-line defense — all automatic.
ETS, ARIMA, Theta, MSTL, TBATS, GARCH, CES, Croston, DOT, 4Theta, ESN, DTSF — and more.
Unique 4-level system prevents constant predictions — the most common forecasting failure mode in production.
65+ feature fingerprinting. Know your data's difficulty, optimal model, seasonality, and similarity to other series.
Regime detection (HMM), self-healing forecasts (CUSUM + EWMA), and 8 business constraint types.
Built on NumPy + SciPy + Pandas only. No compiled extensions, no platform issues. Optional Rust turbo for 10x speed.
Parametric distributions (Gaussian, Student-t, Log-Normal), quantile forecasts, conformal prediction intervals, CRPS scoring.
Formula interface: regress(df, "sales ~ ads + price"). OLS, Ridge, Lasso, Huber, Quantile with full diagnostics.
Anomaly detection, what-if scenarios, backtesting framework, and production metrics (WAPE, MASE, bias).
Forecasting, analysis, and regression — each designed to work with one function call.
Every model shares the same fit → predict interface. Vectrix picks the best one for your data automatically.
Real-world data is messy. Regimes shift, anomalies appear, business rules matter. Vectrix handles it all.
HMM-based automatic regime identification. Detect structural breaks and adapt model selection accordingly.
CUSUM + EWMA monitoring. When predictions drift, the system automatically corrects before errors accumulate.
Non-negative, bounded range, monotonic, integer-only, seasonal floor/ceiling, growth rate limits, and more.
65+ features: trend strength, seasonality type, noise ratio, Hurst exponent, demand density, and more. Know your data before you model it.
Optional Rust-accelerated core loops. Pre-built wheels for all platforms — no Rust compiler needed.
pip install "vectrix[turbo]" — automatic fallback to pure Python if wheels are unavailable.
Tested against 200,000+ real-world time series. OWA < 1.0 means beating the Naive2 baseline.
| Competition | Yearly | Quarterly | Monthly | Weekly | Daily | Hourly |
|---|---|---|---|---|---|---|
| M3 | 0.848 | 0.825 | 0.758 | — | — | 0.819 |
| M4 | 0.974 | 0.797 | 0.987 | 0.737 | 1.207 | 1.006 |
| M4 Ensemble | 0.879 | 0.797 | 0.927 | 0.737 | 1.105 | 0.696 |
M4 Ensemble uses VX-Ensemble with DOT + AutoCES + 4Theta + DTSF + ESN. Hourly 0.696 OWA = competition winner level.
When you need more control, Vectrix gives you the full toolkit.
Chain transformers (log, scale, deseasonalize) with automatic inverse on predictions. Fully serializable.
Sliding window cross-validation with customizable metrics. Know how your model performs before deployment.
Simulate shock impacts on forecasts. Perfect for business planning and stress testing.
Vector autoregression with Granger causality, impulse response, and cointegration testing.
From demand planning to financial modeling — Vectrix adapts to your domain.
Demand forecasting, inventory optimization, seasonal planning with intermittent demand support (Croston, ADIDA).
Volatility modeling (GARCH), regime detection for market states, probabilistic risk assessment with confidence intervals.
Load forecasting with multi-seasonal patterns (hourly/daily/weekly). MSTL and TBATS handle complex seasonality.
Patient volume prediction, sensor data forecasting, anomaly detection with self-healing for drift correction.
Staffing demand prediction, attrition forecasting. Hierarchical reconciliation for department-level planning.
User growth modeling, revenue forecasting, churn prediction. Business constraints enforce realistic growth bounds.
Choose the installation that fits your needs.
Purpose-built for production forecasting with features no other library offers.
| Capability | Vectrix | statsforecast | Prophet | Darts |
|---|---|---|---|---|
| Zero-config forecasting | Yes | Yes | No | No |
| Pure Python (no compiled deps) | Yes | No | No | No |
| 30+ statistical models | Yes | Yes | No | Yes |
| Flat prediction defense | Yes | No | No | No |
| Forecast DNA fingerprinting | Yes | No | No | No |
| Business constraints (8 types) | Yes | No | No | No |
| R-style regression | Yes | No | No | No |
| Self-healing forecasts | Yes | No | No | No |
| Foundation model wrappers | Yes | No | No | Yes |
| VAR / VECM multivariate | Yes | No | No | Yes |
Use Vectrix freely in personal and commercial projects. Contributions welcome.
No restrictions on commercial use
Star, fork, and contribute
Comprehensive test coverage
API reference, guides, and tutorials
Get started with Vectrix in under a minute.