← all repositories
unit8co/darts

Time series forecasting with a scikit-learn accent

Darts wraps statistical and deep-learning time series models behind one scikit-learn-style API so you can swap ARIMA for N-BEATS without rewriting your pipeline.

9.5k stars Python ML FrameworksDomain Apps
darts
Not currently ranked — collecting fresh signals.
star history

What it does

Darts is a Python library for forecasting and anomaly detection on time series. It provides a common fit() and predict() interface across a wide range of models, from classical statistical methods like ARIMA to deep learning architectures built on PyTorch Lightning. The library also handles multivariate series, external covariates, and probabilistic forecasting, while offering utilities for backtesting and model evaluation.

The interesting bit

The real convenience is the uniformity. You can train a global model on multiple heterogeneous series, plug in any scikit-learn regressor as a forecaster, or turn a forecasting model into an anomaly detector by comparing predictions against actuals. It also supports conformal prediction and hierarchical reconciliation, features often missing from higher-level wrappers.

Key highlights

  • Single API for statistical, machine-learning, and deep-learning forecasters
  • Native multivariate series support and training on multiple time series simultaneously
  • Built-in anomaly detection via PyOD integration or by wrapping forecasting/filtering models
  • Probabilistic forecasting with quantile estimates and conformal prediction calibration
  • Extras like SHAP explainability, hierarchical reconciliation, and data backend compatibility (pandas, polars, xarray)

Verdict

Worth a look if you juggle multiple time series methodologies and want one consistent interface. Probably overkill if you only need a single, well-understood model and prefer to avoid abstraction layers.

Frequently asked

What is unit8co/darts?
Darts wraps statistical and deep-learning time series models behind one scikit-learn-style API so you can swap ARIMA for N-BEATS without rewriting your pipeline.
Is darts open source?
Yes — unit8co/darts is open source, released under the Apache-2.0 license.
What language is darts written in?
unit8co/darts is primarily written in Python.
How popular is darts?
unit8co/darts has 9.5k stars on GitHub.
Where can I find darts?
unit8co/darts is on GitHub at https://github.com/unit8co/darts.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.