Anofox Batch Statistics for DuckDB

•
20
•

Trains and evaluates thousands of statistical regression models across groups concurrently in DuckDB using SQL table macros.

The Anofox Statistics Batch skill equips Claude with the exact patterns and table macros required for per-group and batch regression modeling using DuckDB's anofox_statistics extension. It enables training and predicting thousands of models—such as OLS, GLMs, regularized regression, survival models, and splines—directly within a single SQL statement via DuckDB's parallelized HASH_GROUP_BY engine. Ideal for panel data, SKU-level forecasting, cohort modeling, and in-database ML monitoring, this skill eliminates the overhead of Python looping and complex external orchestrations.

Características Principales

01Execute per-group regression modeling across 25+ model families directly in SQL
02Streamline train/predict workflows using unified *_fit_predict_by table macros
03Generate structured diagnostic, tidy coefficient, and summary glance tables per cohort
04Perform automated model monitoring, dataset drift detection, and data quality checks
05Leverage DuckDB's internal parallelism to scale model training without Python loops
0620 GitHub stars

Casos de Uso

01Fitting distinct demand forecasting regression models for thousands of retail SKUs simultaneously
02Running in-database ML model drift, calibration, and performance monitoring across time chunks
03Analyzing segment-level treatment effects or customer cohort churn with per-group survival and GLM models