A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Nixtla/statsforecast below:

Nixtla/statsforecast: Lightning ⚑️ fast forecasting with statistical and econometric models.

You can install StatsForecast with:

pip install statsforecast

or

conda install -c conda-forge statsforecast

Vist our Installation Guide for further instructions.

Minimal Example

from statsforecast import StatsForecast
from statsforecast.models import AutoARIMA
from statsforecast.utils import AirPassengersDF

df = AirPassengersDF
sf = StatsForecast(
    models=[AutoARIMA(season_length=12)],
    freq='ME',
)
sf.fit(df)
sf.predict(h=12, level=[95])

Get Started with this quick guide.

Follow this end-to-end walkthrough for best practices.

Current Python alternatives for statistical models are slow, inaccurate and don't scale well. So we created a library that can be used to forecast in production environments or as benchmarks. StatsForecast includes an extensive battery of models that can efficiently fit millions of time series.

Missing something? Please open an issue or write us in

πŸ“š End to End Walkthrough: Model training, evaluation and selection for multiple time series

πŸ”Ž Anomaly Detection: detect anomalies for time series using in-sample prediction intervals.

πŸ‘©β€πŸ”¬ Cross Validation: robust model’s performance evaluation.

❄️ Multiple Seasonalities: how to forecast data with multiple seasonalities using an MSTL.

πŸ”Œ Predict Demand Peaks: electricity load forecasting for detecting daily peaks and reducing electric bills.

πŸ“ˆ Intermittent Demand: forecast series with very few non-zero observations.

🌑️ Exogenous Regressors: like weather or prices

Automatic forecasting tools search for the best parameters and select the best possible model for a group of time series. These tools are useful for large collections of univariate time series.

These models exploit the existing autocorrelations in the time series.

Model Point Forecast Probabilistic Forecast Insample fitted values Probabilistic fitted values Exogenous features ARIMA βœ… βœ… βœ… βœ… βœ… AutoRegressive βœ… βœ… βœ… βœ… βœ…

Fit two theta lines to a deseasonalized time series, using different techniques to obtain and combine the two theta lines to produce the final forecasts.

Suited for signals with more than one clear seasonality. Useful for low-frequency data like electricity and logs.

Model Point Forecast Probabilistic Forecast Insample fitted values Probabilistic fitted values Exogenous features MSTL βœ… βœ… βœ… βœ… If trend forecaster supports MFLES βœ… βœ… βœ… βœ… βœ… TBATS βœ… βœ… βœ… βœ…

Suited for modeling time series that exhibit non-constant volatility over time. The ARCH model is a particular case of GARCH.

Model Point Forecast Probabilistic Forecast Insample fitted values Probabilistic fitted values Exogenous features GARCH βœ… βœ… βœ… βœ… ARCH βœ… βœ… βœ… βœ…

Classical models for establishing baseline.

Uses a weighted average of all past observations where the weights decrease exponentially into the past. Suitable for data with clear trend and/or seasonality. Use the SimpleExponential family for data with no clear trend or seasonality.

Suited for series with very few non-zero observations

See CONTRIBUTING.md.

@misc{garza2022statsforecast,
    author={Azul Garza, Max Mergenthaler Canseco, Cristian ChallΓΊ, Kin G. Olivares},
    title = {{StatsForecast}: Lightning fast forecasting with statistical and econometric models},
    year={2022},
    howpublished={{PyCon} Salt Lake City, Utah, US 2022},
    url={https://github.com/Nixtla/statsforecast}
}

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4