Darts: User-Friendly Modern Machine Learning for Time Series
Julien HerzenFrancesco LässigSamuele Giuliano PiazzettaThomas NeuerLéo TaftiGuillaume RailleTomas Van PottelberghMarek PasiekaAndrzej SkrodzkiNicolas Huguenin
Presents Darts, an open-source Python library that unifies classical forecasting methods and modern deep learning architectures under a scikit-learn-like interface supporting multivariate series, multi-series training, and probabilistic forecasting.
Time series forecasting is critical across multiple industries, including energy, logistics, manufacturing, retail, and healthcare. Although traditional statistical models remain widely used, modern machine learning and deep learning approaches offer greater capacity to handle complex, high-dimensional datasets and multiple time series simultaneously. However, existing software ecosystems often lack unified interfaces, forcing organizations to navigate fragmented tools with steep technical barriers.
The article introduces and evaluates Darts, an open-source Python library designed to democratize modern time series forecasting by bridging classical statistical techniques and advanced deep learning methods under a single, consistent programming interface.
The authors developed a unified software framework centered on an immutable, three-dimensional time series data container. The framework integrates both classical statistical models (such as ARIMA and Exponential Smoothing) and deep learning architectures (including recurrent networks, temporal convolutional networks, and temporal fusion transformers). The evaluation demonstrates the library's ability to train a single model across multiple separate time series, manage external past and future covariates, and execute probabilistic forecasting using Monte Carlo simulations and 17 built-in probability distributions.
Key findings show that Darts standardizes the training and prediction workflow across fundamentally different model families using a single high-level interface. The library natively supports training deep neural networks on collections of multiple time series, significantly reducing data management complexity. Additionally, it provides built-in mechanisms for handling external explanatory data, automated model backtesting, ensembling, and memory-efficient data loading for large-scale datasets.
For organizations, these capabilities mean lower operational costs, shorter development cycles, and reduced implementation risk when deploying advanced forecasting pipelines. Data science teams can seamlessly benchmark classical methods against state-of-the-art neural networks within the same pipeline, accelerating the transition from prototyping to production.
Decision-makers should consider adopting the library as a standardized foundation for enterprise forecasting projects. Technical teams should run pilot evaluations on their own operational datasets to assess performance gains. At the same time, practitioners should note current boundary conditions, as support for static covariates and pre-trained foundation models remains in ongoing development.
- Paper: API design for machine learning software: experiences from the scikit-learn project, Lars Buitinck et al. (2013). It introduces the standardized scikit-learn API design principles that Darts adopts to unify diverse time series models under a consistent interface.
- Paper: DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networks, David Salinas et al. (2020). It establishes the DeepAR architecture, which is one of the core probabilistic deep-learning forecasting models directly supported in Darts.
- Paper: N-BEATS: Neural basis expansion analysis for interpretable time series forecasting, Boris N. Oreshkin et al. (2020). It introduces the N-BEATS neural architecture for interpretable and deep time series forecasting, a foundational neural model provided by Darts.
- Paper: Temporal Fusion Transformers for interpretable multi-horizon time series forecasting, Bryan Lim et al. (2021). It details the Temporal Fusion Transformer architecture for multi-horizon forecasting with static and dynamic covariates, forming a core neural baseline in the library.
- Paper: Time-series forecasting with deep learning: a survey, Bryan Lim et al. (2020). It provides a comprehensive survey of modern deep learning architectures and probabilistic methods in time series forecasting that contextualizes Darts' model offerings.
- Paper: Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks, Guokun Lai et al. (2017). It develops the LSTNet model for multivariate forecasting with recurrent and convolutional components, which is implemented within Darts' suite of neural models.
- Paper: Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting, Haixu Wu et al. (2021). It introduces the Autoformer decomposition transformer architecture, representing the class of modern transformer-based models supported in Darts.
- Paper: A state space framework for automatic forecasting using exponential smoothing methods, Rob J. Hyndman et al. (2002). It formulates the automatic exponential smoothing state-space framework that underpins the classical statistical forecasting baselines in Darts.
- Paper: N-HiTS: Neural Hierarchical Interpolation for Time Series Forecasting, Cristian Challu et al. (2023). It introduces N-HiTS as a hierarchical interpolation advance over N-BEATS for long-horizon forecasting, which subsequently expanded modern Python forecasting toolkits.
- Paper: A Time Series is Worth 64 Words: Long-term Forecasting with Transformers, Yuqi Nie et al. (2023). It introduces PatchTST, advancing transformer-based long-term time series forecasting beyond earlier architectures supported in initial deep learning toolkits.
- Paper: TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis, Haixu Wu et al. (2023). It proposes TimesNet, generalizing 1D temporal forecasting models into a 2D variation framework for multi-task time series analysis.
- Paper: Unified Training of Universal Time Series Forecasting Transformers, Gerald Woo et al. (2024). It introduces MOIRAI, shifting time series modeling toward unified, zero-shot universal forecasting transformers across diverse datasets.
- Paper: Sundial: A Family of Highly Capable Time Series Foundation Models, Yong Liu 0007 et al. (2025). It presents Sundial, a foundation model family using continuous generative flow-matching to extend probabilistic time series forecasting beyond conventional deep models.
- Paper: Timer: Generative Pre-trained Transformers Are Large Time Series Models, Yong Liu et al. (2024). It develops Timer, extending generative pre-trained transformer modeling to general-purpose time series analysis at scale.
- Paper: Transformers in Time Series: A Survey, Qingsong Wen et al. (2022). It synthesizes subsequent progress, structural modifications, and emerging challenges in adapting transformer architectures for time series modeling.
