Anofox Forecast
What is Anofox Forecast?
Anofox Forecast brings enterprise time-series forecasting directly to DuckDB. Generate forecasts with 31 state-of-the-art models using pure SQL - no Python, no complex pipelines, zero data movement.
Key Features
- 32+ Forecasting Models - AutoML, Statistical, Advanced, Intermittent, and Exogenous variants (ARIMAX, ThetaX, MFLESX)
- Pattern Detection - 20+ seasonality detection algorithms, period detection, changepoint analysis
- Feature Engineering - 117 tsfresh-compatible statistical features
- Cross-Validation - 14 functions for backtesting and CV splits with data leakage prevention
- Conformal Prediction - Distribution-free prediction intervals with guaranteed coverage
- Evaluation Metrics - 12 accuracy metrics including MAE, RMSE, MAPE, MASE
- Production Ready - Handles millions of series with automatic parallelization
Quick Links
| Documentation | Description |
|---|---|
| Installation | Setup and prerequisites |
| Function Finder | Find the right function for your task |
| Exploratory Data Analysis | Profile your time series data |
| Data Quality | Multi-dimensional quality assessment |
| Data Preparation | Clean and transform your data |
| Diagnostics | Pattern detection and analysis |
| Features | Feature engineering functions |
| Models | All 32+ forecasting models |
| Metrics | 12 evaluation metrics |
| Cross-Validation | Backtesting and CV splits |
| Conformal Prediction | Distribution-free prediction intervals |
| Exogenous Variables | External predictors (ARIMAX, ThetaX, MFLESX) |
| Hierarchy Management | Multi-level key handling |
Basic Usage
-- Load the extension
LOAD anofox_forecast;
-- Forecast your first series
SELECT
forecast_step,
date_col,
point_forecast,
lower_95,
upper_95
FROM anofox_fcst_ts_forecast(
'sales_data', -- Your table
'date', -- Date column
'amount', -- Value column
'AutoETS', -- Model
28, -- Forecast horizon (days)
MAP{'confidence_level': 0.95}
);
This returns 28 future forecasts with prediction intervals - all computed in-database.
Why Anofox Forecast?
- Native Performance - Zero Python overhead, direct C++ execution in DuckDB
- Automatic Parallelization - DuckDB distributes work across CPU cores
- In-Database - Process petabyte-scale data without moving it
- Pure SQL API - No new languages or DSLs to learn