{"id":13473248,"url":"https://github.com/unit8co/darts","last_synced_at":"2025-05-12T03:48:53.293Z","repository":{"id":36957361,"uuid":"148657183","full_name":"unit8co/darts","owner":"unit8co","description":"A python library for user-friendly forecasting and anomaly detection on time series.","archived":false,"fork":false,"pushed_at":"2025-05-04T15:40:25.000Z","size":218973,"stargazers_count":8577,"open_issues_count":240,"forks_count":929,"subscribers_count":62,"default_branch":"master","last_synced_at":"2025-05-11T01:35:35.138Z","etag":null,"topics":["anomaly-detection","data-science","deep-learning","forecasting","machine-learning","python","time-series"],"latest_commit_sha":null,"homepage":"https://unit8co.github.io/darts/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unit8co.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-09-13T15:17:28.000Z","updated_at":"2025-05-10T18:34:38.000Z","dependencies_parsed_at":"2023-07-18T16:31:04.943Z","dependency_job_id":"fe999d0e-a4b2-4849-a185-db0895cc33a1","html_url":"https://github.com/unit8co/darts","commit_stats":{"total_commits":897,"total_committers":101,"mean_commits":8.881188118811881,"dds":0.7915273132664438,"last_synced_commit":"f9dcfe9da2509d45490cf02f0345b77edf605330"},"previous_names":["unit8co/u8timeseries"],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unit8co%2Fdarts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unit8co%2Fdarts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unit8co%2Fdarts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unit8co%2Fdarts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unit8co","download_url":"https://codeload.github.com/unit8co/darts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253672531,"owners_count":21945475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anomaly-detection","data-science","deep-learning","forecasting","machine-learning","python","time-series"],"created_at":"2024-07-31T16:01:02.076Z","updated_at":"2025-05-12T03:48:53.236Z","avatar_url":"https://github.com/unit8co.png","language":"Python","readme":"# Time Series Made Easy in Python\n\n![darts](https://github.com/unit8co/darts/raw/master/static/images/darts-logo-trim.png \"darts\")\n\n---\n[![PyPI version](https://badge.fury.io/py/u8darts.svg)](https://badge.fury.io/py/darts)\n[![Conda Version](https://img.shields.io/conda/vn/conda-forge/u8darts-all.svg)](https://anaconda.org/conda-forge/u8darts-all)\n![Supported versions](https://img.shields.io/badge/python-3.9+-blue.svg)\n[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/unit8/darts?label=docker\u0026sort=date)](https://hub.docker.com/r/unit8/darts)\n![GitHub Release Date](https://img.shields.io/github/release-date/unit8co/darts)\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/unit8co/darts/release.yml?branch=master)\n[![Downloads](https://pepy.tech/badge/darts)](https://pepy.tech/project/darts)\n[![Downloads](https://pepy.tech/badge/u8darts)](https://pepy.tech/project/u8darts)\n[![codecov](https://codecov.io/gh/unit8co/darts/branch/master/graph/badge.svg?token=7F1TLUFHQW)](https://codecov.io/gh/unit8co/darts)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Join the chat at https://gitter.im/u8darts/darts](https://badges.gitter.im/u8darts/darts.svg)](https://gitter.im/u8darts/darts?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n**Darts** is a Python library for user-friendly forecasting and anomaly detection\non time series. It contains a variety of models, from classics such as ARIMA to\ndeep neural networks. The forecasting models can all be used in the same way,\nusing `fit()` and `predict()` functions, similar to scikit-learn.\nThe library also makes it easy to backtest models,\ncombine the predictions of several models, and take external data into account.\nDarts supports both univariate and multivariate time series and models.\nThe ML-based models can be trained on potentially large datasets containing multiple time\nseries, and some of the models offer a rich support for probabilistic forecasting.\n\nDarts also offers extensive anomaly detection capabilities.\nFor instance, it is trivial to apply PyOD models on time series to obtain anomaly scores,\nor to wrap any of Darts forecasting or filtering models to obtain fully\nfledged anomaly detection models.\n\n\n## Documentation\n* [Quickstart](https://unit8co.github.io/darts/quickstart/00-quickstart.html)\n* [User Guide](https://unit8co.github.io/darts/userguide.html)\n* [API Reference](https://unit8co.github.io/darts/generated_api/darts.html)\n* [Examples](https://unit8co.github.io/darts/examples.html)\n\n##### High Level Introductions\n* [Introductory Blog Post](https://medium.com/unit8-machine-learning-publication/darts-time-series-made-easy-in-python-5ac2947a8878)\n* [Introduction video (25 minutes)](https://youtu.be/g6OXDnXEtFA)\n\n##### Articles on Selected Topics\n* [Training Models on Multiple Time Series](https://medium.com/unit8-machine-learning-publication/training-forecasting-models-on-multiple-time-series-with-darts-dc4be70b1844)\n* [Using Past and Future Covariates](https://medium.com/unit8-machine-learning-publication/time-series-forecasting-using-past-and-future-external-data-with-darts-1f0539585993)\n* [Temporal Convolutional Networks and Forecasting](https://medium.com/unit8-machine-learning-publication/temporal-convolutional-networks-and-forecasting-5ce1b6e97ce4)\n* [Probabilistic Forecasting](https://medium.com/unit8-machine-learning-publication/probabilistic-forecasting-in-darts-e88fbe83344e)\n* [Transfer Learning for Time Series Forecasting](https://medium.com/unit8-machine-learning-publication/transfer-learning-for-time-series-forecasting-87f39e375278)\n* [Hierarchical Forecast Reconciliation](https://medium.com/unit8-machine-learning-publication/hierarchical-forecast-reconciliation-with-darts-8b4b058bb543)\n\n## Quick Install\n\nWe recommend to first setup a clean Python environment for your project with Python 3.9+ using your favorite tool\n([conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html \"conda-env\"),\n[venv](https://docs.python.org/3/library/venv.html), [virtualenv](https://virtualenv.pypa.io/en/latest/) with\nor without [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/)).\n\nOnce your environment is set up you can install darts using pip:\n\n    pip install darts\n\nFor more details you can refer to our\n[installation instructions](https://github.com/unit8co/darts/blob/master/INSTALL.md).\n\n## Example Usage\n\n### Forecasting\n\nCreate a `TimeSeries` object from a Pandas DataFrame, and split it in train/validation series:\n\n```python\nimport pandas as pd\nfrom darts import TimeSeries\n\n# Read a pandas DataFrame\ndf = pd.read_csv(\"AirPassengers.csv\", delimiter=\",\")\n\n# Create a TimeSeries, specifying the time and value columns\nseries = TimeSeries.from_dataframe(df, \"Month\", \"#Passengers\")\n\n# Set aside the last 36 months as a validation series\ntrain, val = series[:-36], series[-36:]\n```\n\nFit an exponential smoothing model, and make a (probabilistic) prediction over the validation series' duration:\n```python\nfrom darts.models import ExponentialSmoothing\n\nmodel = ExponentialSmoothing()\nmodel.fit(train)\nprediction = model.predict(len(val), num_samples=1000)\n```\n\nPlot the median, 5th and 95th percentiles:\n```python\nimport matplotlib.pyplot as plt\n\nseries.plot()\nprediction.plot(label=\"forecast\", low_quantile=0.05, high_quantile=0.95)\nplt.legend()\n```\n\n\u003cdiv style=\"text-align:center;\"\u003e\n\u003cimg src=\"https://github.com/unit8co/darts/raw/master/static/images/example.png\" alt=\"darts forecast example\" /\u003e\n\u003c/div\u003e\n\n### Anomaly Detection\n\nLoad a multivariate series, trim it, keep 2 components, split train and validation sets:\n\n```python\nfrom darts.datasets import ETTh2Dataset\n\nseries = ETTh2Dataset().load()[:10000][[\"MUFL\", \"LULL\"]]\ntrain, val = series.split_before(0.6)\n```\n\nBuild a k-means anomaly scorer, train it on the train set\nand use it on the validation set to get anomaly scores:\n\n```python\nfrom darts.ad import KMeansScorer\n\nscorer = KMeansScorer(k=2, window=5)\nscorer.fit(train)\nanom_score = scorer.score(val)\n```\n\nBuild a binary anomaly detector and train it over train scores,\nthen use it over validation scores to get binary anomaly classification:\n\n```python\nfrom darts.ad import QuantileDetector\n\ndetector = QuantileDetector(high_quantile=0.99)\ndetector.fit(scorer.score(train))\nbinary_anom = detector.detect(anom_score)\n```\n\nPlot (shifting and scaling some of the series\nto make everything appear on the same figure):\n\n```python\nimport matplotlib.pyplot as plt\n\nseries.plot()\n(anom_score / 2. - 100).plot(label=\"computed anomaly score\", c=\"orangered\", lw=3)\n(binary_anom * 45 - 150).plot(label=\"detected binary anomaly\", lw=4)\n```\n\n\u003cdiv style=\"text-align:center;\"\u003e\n\u003cimg src=\"https://github.com/unit8co/darts/raw/master/static/images/example_ad.png\" alt=\"darts anomaly detection example\" /\u003e\n\u003c/div\u003e\n\n\n## Features\n* **Forecasting Models:** A large collection of forecasting models; from statistical models (such as\n  ARIMA) to deep learning models (such as N-BEATS). See [table of models below](#forecasting-models).\n\n* **Anomaly Detection** The `darts.ad` module contains a collection of anomaly scorers,\n  detectors and aggregators, which can all be combined to detect anomalies in time series.\n  It is easy to wrap any of Darts forecasting or filtering models to build\n  a fully fledged anomaly detection model that compares predictions with actuals.\n  The `PyODScorer` makes it trivial to use PyOD detectors on time series.\n\n* **Multivariate Support:** `TimeSeries` can be multivariate - i.e., contain multiple time-varying\n  dimensions/columns instead of a single scalar value. Many models can consume and produce multivariate series.\n\n* **Multiple Series Training (Global Models):** All machine learning based models (incl. all neural networks)\n  support being trained on multiple (potentially multivariate) series. This can scale to large datasets too.\n\n* **Probabilistic Support:** `TimeSeries` objects can (optionally) represent stochastic\n  time series; this can for instance be used to get confidence intervals, and many models support different\n  flavours of probabilistic forecasting (such as estimating parametric distributions or quantiles).\n  Some anomaly detection scorers are also able to exploit these predictive distributions.\n\n* **Conformal Prediction Support:** Our conformal prediction models allow to generate probabilistic forecasts with\n  calibrated quantile intervals for any pre-trained global forecasting model.\n\n* **Past and Future Covariates Support:** Many models in Darts support past-observed and/or future-known\n  covariate (external data) time series as inputs for producing forecasts.\n\n* **Static Covariates Support:** In addition to time-dependent data, `TimeSeries` can also contain\n  static data for each dimension, which can be exploited by some models.\n\n* **Hierarchical Reconciliation:** Darts offers transformers to perform reconciliation.\n  These can make the forecasts add up in a way that respects the underlying hierarchy.\n\n* **Regression Models:** It is possible to plug-in any scikit-learn compatible model\n  to obtain forecasts as functions of lagged values of the target series and covariates.\n\n* **Training with Sample Weights:** All global models support being trained with sample weights. They can be\n  applied to each observation, forecasted time step and target column.\n\n* **Forecast Start Shifting:** All global models support training and prediction on a shifted output window.\n  This is useful for example for Day-Ahead Market forecasts, or when the covariates (or target series) are reported\n  with a delay.\n\n* **Explainability:** Darts has the ability to *explain* some forecasting models using Shap values.\n\n* **Data Processing:** Tools to easily apply (and revert) common transformations on\n  time series data (scaling, filling missing values, differencing, boxcox, ...)\n\n* **Metrics:** A variety of metrics for evaluating time series' goodness of fit;\n  from R2-scores to Mean Absolute Scaled Error.\n\n* **Backtesting:** Utilities for simulating historical forecasts, using moving time windows.\n\n* **PyTorch Lightning Support:** All deep learning models are implemented using PyTorch Lightning,\n  supporting among other things custom callbacks, GPUs/TPUs training and custom trainers.\n\n* **Filtering Models:** Darts offers three filtering models: `KalmanFilter`, `GaussianProcessFilter`,\n  and `MovingAverageFilter`, which allow to filter time series, and in some cases obtain probabilistic\n  inferences of the underlying states/values.\n\n* **Datasets** The `darts.datasets` submodule contains some popular time series datasets for rapid\n  and reproducible experimentation.\n\n* **Compatibility with Multiple Backends:** `TimeSeries` objects can be created from and exported to various backends such as pandas, polars, numpy, pyarrow, xarray, and more, facilitating seamless integration with different data processing libraries.\n\n## Forecasting Models\nHere's a breakdown of the forecasting models currently implemented in Darts. We are constantly working\non bringing more models and features.\n\n\n| Model                                                                                                                                                                                                                                                                       | Sources                                                                                                                                                                                                                           | Target Series Support:\u003cbr/\u003e\u003cbr/\u003eUnivariate/\u003cbr/\u003eMultivariate | Covariates Support:\u003cbr/\u003e\u003cbr/\u003ePast-observed/\u003cbr/\u003eFuture-known/\u003cbr/\u003eStatic | Probabilistic Forecasting:\u003cbr/\u003e\u003cbr/\u003eSampled/\u003cbr/\u003eDistribution Parameters | Training \u0026 Forecasting on Multiple Series |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|--------------------------------------------------------------------------|--------------------------------------------------------------------------|-------------------------------------------|\n| **Baseline Models**\u003cbr/\u003e([LocalForecastingModel](https://unit8co.github.io/darts/userguide/covariates.html#local-forecasting-models-lfms))                                                                                                                                  |                                                                                                                                                                                                                                   |                                                              |                                                                          |                                                                          |                                           |\n| [NaiveMean](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.baselines.html#darts.models.forecasting.baselines.NaiveMean)                                                                                                                             |                                                                                                                                                                                                                                   | ✅ ✅                                                          | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | 🔴                                        |\n| [NaiveSeasonal](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.baselines.html#darts.models.forecasting.baselines.NaiveSeasonal)                                                                                                                     |                                                                                                                                                                                                                                   | ✅ ✅                                                          | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | 🔴                                        |\n| [NaiveDrift](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.baselines.html#darts.models.forecasting.baselines.NaiveDrift)                                                                                                                           |                                                                                                                                                                                                                                   | ✅ ✅                                                          | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | 🔴                                        |\n| [NaiveMovingAverage](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.baselines.html#darts.models.forecasting.baselines.NaiveMovingAverage)                                                                                                           |                                                                                                                                                                                                                                   | ✅ ✅                                                          | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | 🔴                                        |\n| **Statistical / Classic Models**\u003cbr/\u003e([LocalForecastingModel](https://unit8co.github.io/darts/userguide/covariates.html#local-forecasting-models-lfms))                                                                                                                     |                                                                                                                                                                                                                                   |                                                              |                                                                          |                                                                          |                                           |\n| [ARIMA](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.arima.html#darts.models.forecasting.arima.ARIMA)                                                                                                                                             |                                                                                                                                                                                                                                   | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ 🔴                                                                     | 🔴                                        |\n| [VARIMA](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.varima.html#darts.models.forecasting.varima.VARIMA)                                                                                                                                         |                                                                                                                                                                                                                                   | 🔴 ✅                                                         | 🔴 ✅ 🔴                                                                  | ✅ 🔴                                                                     | 🔴                                        |\n| [ExponentialSmoothing](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.exponential_smoothing.html#darts.models.forecasting.exponential_smoothing.ExponentialSmoothing)                                                                               |                                                                                                                                                                                                                                   | ✅ 🔴                                                         | 🔴 🔴 🔴                                                                 | ✅ 🔴                                                                     | 🔴                                        |\n| [Theta](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.theta.html#darts.models.forecasting.theta.Theta) and [FourTheta](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.theta.html#darts.models.forecasting.theta.FourTheta) | [Theta](https://robjhyndman.com/papers/Theta.pdf) \u0026 [4 Theta](https://github.com/Mcompetitions/M4-methods/blob/master/4Theta%20method.R)                                                                                          | ✅ 🔴                                                         | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | 🔴                                        |\n| [Prophet](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.prophet_model.html#darts.models.forecasting.prophet_model.Prophet)                                                                                                                         | [Prophet repo](https://github.com/facebook/prophet)                                                                                                                                                                               | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ 🔴                                                                     | 🔴                                        |\n| [FFT](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.fft.html#darts.models.forecasting.fft.FFT) (Fast Fourier Transform)                                                                                                                            |                                                                                                                                                                                                                                   | ✅ 🔴                                                         | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | 🔴                                        |\n| [KalmanForecaster](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.kalman_forecaster.html#darts.models.forecasting.kalman_forecaster.KalmanForecaster) using the Kalman filter and N4SID for system identification                                   | [N4SID paper](https://people.duke.edu/~hpgavin/SystemID/References/VanOverschee-Automatica-1994.pdf)                                                                                                                              | ✅ ✅                                                          | 🔴 ✅ 🔴                                                                  | ✅ 🔴                                                                     | 🔴                                        |\n| [TBATS](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_tbats.html#darts.models.forecasting.sf_tbats.TBATS)                                                                                                                                       | [TBATS paper](https://robjhyndman.com/papers/ComplexSeasonality.pdf)                                                                                                                                                              | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [Croston](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.croston.html#darts.models.forecasting.croston.Croston) method                                                                                                                              |                                                                                                                                                                                                                                   | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [StatsForecastModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_model.html#darts.models.forecasting.sf_model.StatsForecastModel) wrapper around any [StatsForecast](https://nixtlaverse.nixtla.io/statsforecast/index.html#models) model     | [Nixtla's statsforecast](https://github.com/Nixtla/statsforecast)                                                                                                                                                                 | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [AutoARIMA](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_auto_arima.html#darts.models.forecasting.sf_auto_arima.AutoARIMA)                                                                                                                     | [Nixtla's statsforecast](https://github.com/Nixtla/statsforecast)                                                                                                                                                                 | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [AutoETS](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_auto_ets.html#darts.models.forecasting.sf_auto_ets.AutoETS)                                                                                                                             | [Nixtla's statsforecast](https://github.com/Nixtla/statsforecast)                                                                                                                                                                 | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [AutoCES](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_auto_ces.html#darts.models.forecasting.sf_auto_ces.AutoCES)                                                                                                                             | [Nixtla's statsforecast](https://github.com/Nixtla/statsforecast)                                                                                                                                                                 | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [AutoMFLES](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_auto_mfles.html#darts.models.forecasting.sf_auto_mfles.AutoMFLES)                                                                                                                     | [Nixtla's statsforecast](https://github.com/Nixtla/statsforecast)                                                                                                                                                                 | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [AutoTBATS](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_auto_tbats.html#darts.models.forecasting.sf_auto_tbats.AutoTBATS)                                                                                                                     | [Nixtla's statsforecast](https://github.com/Nixtla/statsforecast)                                                                                                                                                                 | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| [AutoTheta](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sf_auto_theta.html#darts.models.forecasting.sf_auto_theta.AutoTheta)                                                                                                                     | [Nixtla's statsforecast](https://github.com/Nixtla/statsforecast)                                                                                                                                                                 | ✅ 🔴                                                         | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | 🔴                                        |\n| **Global Baseline Models**\u003cbr/\u003e([GlobalForecastingModel](https://unit8co.github.io/darts/userguide/covariates.html#global-forecasting-models-gfms))                                                                                                                         |                                                                                                                                                                                                                                   |                                                              |                                                                          |                                                                          |                                           |\n| [GlobalNaiveAggregate](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.global_baseline_models.html#darts.models.forecasting.global_baseline_models.GlobalNaiveAggregate)                                                                             |                                                                                                                                                                                                                                   | ✅ ✅                                                          | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | ✅                                         |\n| [GlobalNaiveDrift](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.global_baseline_models.html#darts.models.forecasting.global_baseline_models.GlobalNaiveDrift)                                                                                     |                                                                                                                                                                                                                                   | ✅ ✅                                                          | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | ✅                                         |\n| [GlobalNaiveSeasonal](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.global_baseline_models.html#darts.models.forecasting.global_baseline_models.GlobalNaiveSeasonal)                                                                               |                                                                                                                                                                                                                                   | ✅ ✅                                                          | 🔴 🔴 🔴                                                                 | 🔴 🔴                                                                    | ✅                                         |\n| **Regression Models**\u003cbr/\u003e([GlobalForecastingModel](https://unit8co.github.io/darts/userguide/covariates.html#global-forecasting-models-gfms))                                                                                                                              |                                                                                                                                                                                                                                   |                                                              |                                                                          |                                                                          |                                           |\n| [SKLearnModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.sklearn_model.html#darts.models.forecasting.sklearn_model.SKLearnModel): wrapper around any scikit-learn-like regression model                                                        |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | 🔴 🔴                                                                    | ✅                                         |\n| [LinearRegressionModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.linear_regression_model.html#darts.models.forecasting.linear_regression_model.LinearRegressionModel)                                                                         |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [RandomForestModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.random_forest.html#darts.models.forecasting.random_forest.RandomForestModel)                                                                                                     |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | 🔴 🔴                                                                    | ✅                                         |\n| [LightGBMModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.lgbm.html#darts.models.forecasting.lgbm.LightGBMModel)                                                                                                                               |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [XGBModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.xgboost.html#darts.models.forecasting.xgboost.XGBModel)                                                                                                                                   |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [CatBoostModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.catboost_model.html#darts.models.forecasting.catboost_model.CatBoostModel)                                                                                                           |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| **PyTorch (Lightning)-based Models**\u003cbr/\u003e([GlobalForecastingModel](https://unit8co.github.io/darts/userguide/covariates.html#global-forecasting-models-gfms))                                                                                                               |                                                                                                                                                                                                                                   |                                                              |                                                                          |                                                                          |                                           |\n| [RNNModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.rnn_model.html#darts.models.forecasting.rnn_model.RNNModel) (incl. LSTM and GRU); equivalent to DeepAR in its probabilistic version                                                       | [DeepAR paper](https://arxiv.org/abs/1704.04110)                                                                                                                                                                                  | ✅ ✅                                                          | 🔴 ✅ 🔴                                                                  | ✅ ✅                                                                      | ✅                                         |\n| [BlockRNNModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.block_rnn_model.html#darts.models.forecasting.block_rnn_model.BlockRNNModel) (incl. LSTM and GRU)                                                                                    |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ 🔴 🔴                                                                  | ✅ ✅                                                                      | ✅                                         |\n| [NBEATSModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.nbeats.html#darts.models.forecasting.nbeats.NBEATSModel)                                                                                                                               | [N-BEATS paper](https://arxiv.org/abs/1905.10437)                                                                                                                                                                                 | ✅ ✅                                                          | ✅ 🔴 🔴                                                                  | ✅ ✅                                                                      | ✅                                         |\n| [NHiTSModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.nhits.html#darts.models.forecasting.nhits.NHiTSModel)                                                                                                                                   | [N-HiTS paper](https://arxiv.org/abs/2201.12886)                                                                                                                                                                                  | ✅ ✅                                                          | ✅ 🔴 🔴                                                                  | ✅ ✅                                                                      | ✅                                         |\n| [TCNModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.tcn_model.html#darts.models.forecasting.tcn_model.TCNModel)                                                                                                                               | [TCN paper](https://arxiv.org/abs/1803.01271), [DeepTCN paper](https://arxiv.org/abs/1906.04397), [blog post](https://medium.com/unit8-machine-learning-publication/temporal-convolutional-networks-and-forecasting-5ce1b6e97ce4) | ✅ ✅                                                          | ✅ 🔴 🔴                                                                  | ✅ ✅                                                                      | ✅                                         |\n| [TransformerModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.transformer_model.html#darts.models.forecasting.transformer_model.TransformerModel)                                                                                               |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ 🔴 🔴                                                                  | ✅ ✅                                                                      | ✅                                         |\n| [TFTModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.tft_model.html#darts.models.forecasting.tft_model.TFTModel) (Temporal Fusion Transformer)                                                                                                 | [TFT paper](https://arxiv.org/pdf/1912.09363.pdf), [PyTorch Forecasting](https://pytorch-forecasting.readthedocs.io/en/latest/models.html)                                                                                        | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [DLinearModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.dlinear.html#darts.models.forecasting.dlinear.DLinearModel)                                                                                                                           | [DLinear paper](https://arxiv.org/pdf/2205.13504.pdf)                                                                                                                                                                             | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [NLinearModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.nlinear.html#darts.models.forecasting.nlinear.NLinearModel)                                                                                                                           | [NLinear paper](https://arxiv.org/pdf/2205.13504.pdf)                                                                                                                                                                             | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [TiDEModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.tide_model.html#darts.models.forecasting.tide_model.TiDEModel)                                                                                                                           | [TiDE paper](https://arxiv.org/pdf/2304.08424.pdf)                                                                                                                                                                                | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [TSMixerModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.tsmixer_model.html#darts.models.forecasting.tsmixer_model.TSMixerModel)                                                                                                               | [TSMixer paper](https://arxiv.org/pdf/2303.06053.pdf), [PyTorch Implementation](https://github.com/ditschuk/pytorch-tsmixer)                                                                                                      | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| **Ensemble Models**\u003cbr/\u003e([GlobalForecastingModel](https://unit8co.github.io/darts/userguide/covariates.html#global-forecasting-models-gfms)): Model support is dependent on ensembled forecasting models and the ensemble model itself                                      |                                                                                                                                                                                                                                   |                                                              |                                                                          |                                                                          |                                           |\n| [NaiveEnsembleModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.baselines.html#darts.models.forecasting.baselines.NaiveEnsembleModel)                                                                                                           |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [RegressionEnsembleModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.regression_ensemble_model.html#darts.models.forecasting.regression_ensemble_model.RegressionEnsembleModel)                                                                 |                                                                                                                                                                                                                                   | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| **Conformal Models**\u003cbr/\u003e([GlobalForecastingModel](https://unit8co.github.io/darts/userguide/covariates.html#global-forecasting-models-gfms)): Model support is dependent on the forecasting model used                                                                     |                                                                                                                                                                                                                                   |                                                              |                                                                          |                                                                          |                                           |\n| [ConformalNaiveModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.conformal_models.html#darts.models.forecasting.conformal_models.ConformalNaiveModel)                                                                                           | [Conformalized Prediction](https://arxiv.org/pdf/1905.03222)                                                                                                                                                                      | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n| [ConformalQRModel](https://unit8co.github.io/darts/generated_api/darts.models.forecasting.conformal_models.html#darts.models.forecasting.conformal_models.ConformalQRModel)                                                                                                 | [Conformalized Quantile Regression](https://arxiv.org/pdf/1905.03222)                                                                                                                                                             | ✅ ✅                                                          | ✅ ✅ ✅                                                                    | ✅ ✅                                                                      | ✅                                         |\n\n## Community \u0026 Contact\nAnyone is welcome to join our [Gitter room](https://gitter.im/u8darts/darts) to ask questions, make proposals,\ndiscuss use-cases, and more. If you spot a bug or have suggestions, GitHub issues are also welcome.\n\nIf what you want to tell us is not suitable for Gitter or Github,\nfeel free to send us an email at \u003ca href=\"mailto:darts@unit8.co\"\u003edarts@unit8.co\u003c/a\u003e for\ndarts related matters or \u003ca href=\"mailto:info@unit8.co\"\u003einfo@unit8.co\u003c/a\u003e for any other\ninquiries.\n\n## Contribute\nThe development is ongoing, and we welcome suggestions, pull requests and issues on GitHub.\nAll contributors will be acknowledged on the\n[change log page](https://github.com/unit8co/darts/blob/master/CHANGELOG.md).\n\nBefore working on a contribution (a new feature or a fix),\n[check our contribution guidelines](https://github.com/unit8co/darts/blob/master/CONTRIBUTING.md).\n\n## Citation\nIf you are using Darts in your scientific work, we would appreciate citations to the following JMLR paper.\n\n[Darts: User-Friendly Modern Machine Learning for Time Series](https://www.jmlr.org/papers/v23/21-1177.html)\n\nBibtex entry:\n```\n@article{JMLR:v23:21-1177,\n  author  = {Julien Herzen and Francesco LÃ¤ssig and Samuele Giuliano Piazzetta and Thomas Neuer and LÃ©o Tafti and Guillaume Raille and Tomas Van Pottelbergh and Marek Pasieka and Andrzej Skrodzki and Nicolas Huguenin and Maxime Dumonal and Jan KoÅ›cisz and Dennis Bader and FrÃ©dÃ©rick Gusset and Mounir Benheddi and Camila Williamson and Michal Kosinski and Matej Petrik and GaÃ«l Grosch},\n  title   = {Darts: User-Friendly Modern Machine Learning for Time Series},\n  journal = {Journal of Machine Learning Research},\n  year    = {2022},\n  volume  = {23},\n  number  = {124},\n  pages   = {1-6},\n  url     = {http://jmlr.org/papers/v23/21-1177.html}\n}\n```\n","funding_links":[],"categories":["Python","Libraries","📦 Packages","Time Series","Time Series Analysis","Others","Time Series Data","\u003cspan id=\"head7\"\u003e2.2. (Deep Learning based) Time Series Analysis\u003c/span\u003e","Time Series \u0026 Forecasting","Time-Series \u0026 Financial","Industry-strength Anomaly Detection","Machine Learning","时间序列","Related Software","Uncategorized","Table of Contents","Cost Forecast","Feature Extraction","General tools"],"sub_categories":["Python","Others","Specialized Machine Learning Libraries","Tools \u0026 Projects","Time Series Analysis","NLP","网络服务_其他","Forecasting","Uncategorized","Workshops and Tutorials","Market Research","Time Series"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funit8co%2Fdarts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funit8co%2Fdarts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funit8co%2Fdarts/lists"}