Skip to main content

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
DocumentationDescription
InstallationSetup and prerequisites
Function FinderFind the right function for your task
Exploratory Data AnalysisProfile your time series data
Data QualityMulti-dimensional quality assessment
Data PreparationClean and transform your data
DiagnosticsPattern detection and analysis
FeaturesFeature engineering functions
ModelsAll 32+ forecasting models
Metrics12 evaluation metrics
Cross-ValidationBacktesting and CV splits
Conformal PredictionDistribution-free prediction intervals
Exogenous VariablesExternal predictors (ARIMAX, ThetaX, MFLESX)
Hierarchy ManagementMulti-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
🍪 Cookie Settings