10 Time-series Python Libraries in 2022 for Fast Models

Here’s a list of all relevant libraries for Time Series Forecasting. Good to have these gems in your bucket:

📚 Flow forecast

Flow forecast is a deep learning for time series forecasting framework. It provides the latest models (transformers, attention models, GRUs) and cutting edge concepts with interpretability metrics. It is the only true end-to-end deep learning for time series forecasting framework.

📚 Auto_TS

Auto_TS train multiple time series models with just one line of code and is a part of AutoML.

📚 SKTIME

Sktime an extension to scikit-learn includes machine learning time-series for regression, prediction, and classification. This library has the most features with interfaces scikit-learn, statsmodels, TSFresh and PyOD.

📚 Darts

Darts contains many models ranging from ARIMA to deep neural networks. It also lets users combine predictions from several models and external regressors, which makes it easier to backtest models.

📚 Pmdarima

Pmdarima is a wrapper over ARIMA with automatic Hyperparameter tuning for analyzing, forecasting, and visualizing time series data including transformers and feature creation, including Box-Cox and Fourier transformations and a seasonal decomposition tool.

📚 TSFresh

TSFresh automates feature extraction and selection from time series. It has Dimensionality reduction, Outlier detection and missing values.

📚 Pyflux

Pyflux builds a probabilistic model, very advantageous for tasks where a more complete picture of uncertainty is needed, and the latent variables are treated as random variables through a joint probability.

📚 Prophet

Facebook’s Prophet is a forecasting tool for CSV format and is suitable for strong seasonal data and robust to missing data and outliers.

📚 Statsforecast

Statsforecast offers a collection of univariate time series. It includes ADIDA, HistoricAverage, CrostonClassic, CrostonSBA, CrostonOptimized, SeasonalNaive, IMAPA Naive, RandomWalkWithDrift, TSB, AutoARIMA and ETS.

Impressive fact: It is 20x faster than pmdarima , 500x faster than Prophet,100x faster than NeuralProphet, 4x faster than statsmodels.

📚 PyCaret

PyCaret replaces hundreds of lines of code with few lines only. Its time-series forecasting is in pre-release mode with –pre tag with 30+ algorithms. It includes automated hyperparameter tuning, experiment logging and deployment on cloud.

📚 NeuralProphet

NeuralProphet is a Neural Network based Time-Series model, inspired by Facebook Prophet and AR-Net, built on PyTorch.

Sources

[1] https://moez-62905.medium.com/top-python-libraries-for-time-series-analysis-in-2022-eebe95913085and

[2] https://towardsdatascience.com/5-unexplored-python-libraries-for-time-series-analysis-e9375962fbb2

[3] https://medium.com/data-science-at-microsoft/python-open-source-libraries-for-scaling-time-series-forecasting-solutions-3485c3bd8156

Matt von Rohr
Matt von Rohr
Articles: 6

Leave a Reply

Your email address will not be published. Required fields are marked *

×