Unified time-series ML · forecasting / classification / anomaly detection · verified against sktime 0.3x (2026)

sktime cheat sheet

sktime is the scikit-learn of time series: one consistent fit/predict API across the whole time-series lifecycle — forecasting, classification, regression, clustering, annotation/anomaly detection — plus pipelines, tuning and reduction to tabular ML. It wraps statsmodels, StatsForecast, Prophet, Darts, ARIMA and deep-learning backends behind a shared interface. This sheet targets sktime 0.3x and focuses on forecasting.

core forecasting forecasters & intervals pipelines & reduction evaluation & tuning other tasks gotcha most common

Verified 2026-08-24 against the official docs at sktime.net (API reference + forecasting tutorial). scikit-learn-compatible; many estimators are adapters over other libraries (install their soft dependencies as needed).

Outline

The forecasting workflow is forecaster.fit(y, fh=...).predict(). Everything else — pipelines, tuning, other tasks — reuses that same estimator pattern.

Forecast

  1. 1 · Install & data format
  2. 2 · fit / predict / fh
  3. 3 · Forecaster zoo
  4. 4 · Probabilistic forecasts

Compose

  1. 5 · Pipelines & transforms
  2. 6 · Reduction to sklearn

Evaluate

  1. 7 · Splitting & backtesting
  2. 8 · Metrics & tuning

Beyond forecasting

  1. 9 · Classification & more
  2. 10 · Finding estimators
  3. 11 · Gotchas
  4. Worth memorizing

Forecast

The core loop, and how sktime expects your data.

1Install & data format0.3x
2fit / predict / fhthe workflow
3Forecaster zoopick a model
4Probabilistic forecastsuncertainty

Compose

Chain transforms with a forecaster, or turn any sklearn regressor into a forecaster.

5Pipelines & transformspreprocessing
6Reduction to sklearntabular ML

Evaluate & Tune

Backtest honestly with time-aware splits.

7Splitting & backtestingno leakage
8Metrics & tuningpick the best

Beyond Forecasting

The same API for other time-series tasks, and how to discover estimators.

9Classification & moreother learning tasks
10Finding estimatorsthe registry

Gotchas

Time-series-specific traps.

!Common gotchasread before shipping

Worth memorizing

scikit-learn for time seriesone fit/predict API across forecasting, classification, detection
fit(y, fh=...).predict()fh = ForecastingHorizon (steps ahead or an absolute index)
always beat NaiveForecasterestablish the naive baseline before anything fancy
make_reductionturns any sklearn regressor into a windowed forecaster
TransformedTargetForecasterdetrend/deseasonalize the target and auto-invert
window splitters, never KFoldExpandingWindowSplitter + evaluate() for honest backtests
predict_interval / predict_quantilesuncertainty when the forecaster supports it
all_estimators + tagsdiscover models and filter by capability
exogenous X needs future valuessupply X for the horizon at predict time