Nixtla

Neural 🧠 Forecast
User friendly state-of-the-art neural forecasting models
MLP, LSTM, GRU, RNN, TCN, TimesNet, BiTCN, DeepAR, NBEATS, NBEATSx, NHITS, TiDE, DeepNPTS, TSMixer, TSMixerx, MLPMultivariate, DLinear, NLinear, TFT, Informer, AutoFormer, FedFormer, PatchTST, iTransformer, StemGNN, and TimeLLM.Installation
You can installNeuralForecast with:
Quick Start
Minimal ExampleWhy?
There is a shared belief in Neural forecasting methods’ capacity to improve forecasting pipeline’s accuracy and efficiency. Unfortunately, available implementations and published research are yet to realize neural networks’ potential. They are hard to use and continuously fail to improve over statistical methods while being computationally prohibitive. For this reason, we createdNeuralForecast, a library favoring proven accurate and efficient models focusing on their usability.
Features
- Fast and accurate implementations of more than 30 state-of-the-art models. See the entire collection here.
- Support for exogenous variables and static covariates.
- Interpretability methods for trend, seasonality and exogenous components.
- Probabilistic Forecasting with adapters for quantile losses and parametric distributions.
- Train and Evaluation Losses with scale-dependent, percentage and scale independent errors, and parametric likelihoods.
- Automatic Model Selection with distributed automatic hyperparameter tuning.
- Familiar sklearn syntax:
.fitand.predict.
Highlights
- Official
NHITSimplementation, published at AAAI 2023. See paper and experiments. - Official
NBEATSximplementation, published at the International Journal of Forecasting. See paper. - Unified with
StatsForecast,MLForecast, andHierarchicalForecastinterfaceNeuralForecast().fit(Y_df).predict(), inputs and outputs. - Built-in integrations with
utilsforecastandcoreforecastfor visualization and data-wrangling efficient methods. - Integrations with
RayandOptunafor automatic hyperparameter optimization. - Predict with little to no history using Transfer learning. Check the experiments here.
Examples and Guides
The documentation page contains all the examples and tutorials. 📈 Automatic Hyperparameter Optimization: Easy and Scalable Automatic Hyperparameter Optimization withAuto models on Ray or Optuna.
🌡️ Exogenous Regressors: How to incorporate static or temporal exogenous covariates like weather or prices.
🔌 Transformer Models: Learn how to forecast with many state-of-the-art Transformers models.
👑 Hierarchical Forecasting: forecast series with very few non-zero observations.
👩🔬 Add Your Own Model: Learn how to add a new model to the library.

