
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
NeuralForecast offers a large collection of neural forecasting models focusing on their performance, usability, and robustness. The models range from classic networks like RNNs to the latest transformers: 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
.
You can install NeuralForecast
with:
pip install neuralforecast
or
conda install -c conda-forge neuralforecast
Vist our Installation Guide for further details.
Minimal Example
from neuralforecast import NeuralForecast
from neuralforecast.models import NBEATS
from neuralforecast.utils import AirPassengersDF
nf = NeuralForecast(
models = [NBEATS(input_size=24, h=12, max_steps=100)],
freq = 'ME'
)
nf.fit(df=AirPassengersDF)
nf.predict()
Get Started with this quick guide.
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 created NeuralForecast
, a library favoring proven accurate and efficient models focusing on their usability.
.fit
and .predict
.NHITS
implementation, published at AAAI 2023. See paper and experiments.NBEATSx
implementation, published at the International Journal of Forecasting. See paper.StatsForecast
, MLForecast
, and HierarchicalForecast
interface NeuralForecast().fit(Y_df).predict()
, inputs and outputs.utilsforecast
and coreforecast
for visualization and data-wrangling efficient methods.Ray
and Optuna
for automatic hyperparameter optimization.Missing something? Please open an issue or write us in
The documentation page contains all the examples and tutorials.
๐ Automatic Hyperparameter Optimization: Easy and Scalable Automatic Hyperparameter Optimization with Auto
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.
See the entire collection here.
Missing a model? Please open an issue or write us in
If you wish to contribute to the project, please refer to our contribution guidelines.
This work is highly influenced by the fantastic work of previous contributors and other scholars on the neural forecasting methods presented here. We want to highlight the work of Boris Oreshkin, Slawek Smyl, Bryan Lim, and David Salinas. We refer to Benidis et al. for a comprehensive survey of neural forecasting methods.
If you enjoy or benefit from using these Python implementations, a citation to the repository will be greatly appreciated.
@misc{olivares2022library_neuralforecast,
author={Kin G. Olivares and
Cristian Challรบ and
Azul Garza and
Max Mergenthaler Canseco and
Artur Dubrawski},
title = {{NeuralForecast}: User friendly state-of-the-art neural forecasting models.},
year={2022},
howpublished={{PyCon} Salt Lake City, Utah, US 2022},
url={https://github.com/Nixtla/neuralforecast}
}
Thanks goes to these wonderful people (emoji key):
azul ๐ป ๐ง | Cristian Challu ๐ป ๐ง | Josรฉ Morales ๐ป ๐ง | mergenthaler ๐ ๐ป | Kin ๐ป ๐ ๐ฃ | Greg DeVos ๐ค | Alejandro ๐ป |
stefanialvs ๐จ | Ikko Ashimine ๐ | vglaucus ๐ | Pietro Monticone ๐ |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Time series forecasting suite using deep learning models
We found that neuralforecast demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.