Nixtla

From mkurman/zorai · View interactive version

Nixtla is an AI agent skill from the GitHub repository mkurman/zorai. Nixtla ecosystem — statsforecast (statistical), neuralforecast (deep learning), hierarchicalforecast, and MLForecast. Production time series forecasting with AutoARIMA, ETS, Theta, Transformers, and ensemble blending.

How to use this skill

Skill file

Overview

Nixtla provides time series forecasting with multiple backends — StatsForecast (statistical), NeuralForecast (deep learning), and HierarchicalForecast (hierarchical reconciliation). Covers ARIMA, ETS, Prophet, Theta, N-BEATS, DeepAR, Temporal Fusion Transformer, and more.

Installation

uv pip install nixtla

Statistical Forecasting (StatsForecast)

from statsforecast import StatsForecast
from statsforecast.models import AutoARIMA, ETS, Theta

models = [AutoARIMA(season_length=12), ETS(season_length=12), Theta(season_length=12)]
sf = StatsForecast(models=models, freq="M")

# df needs ds (date), y (value), unique_id columns
forecasts = sf.forecast(df, h=12)
print(forecasts)

Deep Learning (NeuralForecast)

from neuralforecast import NeuralForecast
from neuralforecast.models import NBEATS, NHITS

nf = NeuralForecast(models=[NBEATS(input_size=24, h=12), NHITS(input_size=24, h=12)])
nf.fit(df)
forecasts = nf.predict()

Hierarchical Reconciliation

from hierarchicalforecast import HierarchicalForecast
from hierarchicalforecast.methods import BottomUp, TopDown

hf = HierarchicalForecast(models=forecasts, reconcilers=[BottomUp(), TopDown()])
hf.reconcile(S_hierarchy)

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.