Home

Awesome

<h1 align="left"> <img src="https://github.com/JoaquinAmatRodrigo/skforecast/blob/master/images/banner-landing-page-skforecast.png?raw=true#only-light" style= margin-top: 0px;> </h1>
PackagePython PyPI Downloads Maintenance Project Status: Active
MetaLicense DOI
TestingBuild status codecov
Donationpaypal buymeacoffee GitHub Sponsors
Community!slack
AffiliationNumFOCUS Affiliated

Table of Contents

About The Project

Skforecast is a Python library for time series forecasting using machine learning models. It works with any regressor compatible with the scikit-learn API, including popular options like LightGBM, XGBoost, CatBoost, Keras, and many others.

Why use skforecast?

The fields of statistics and machine learning have developed many excellent regression algorithms that can be useful for forecasting, but applying them effectively to time series analysis can still be a challenge. To address this issue, the skforecast library provides a comprehensive set of tools for training, validation and prediction in a variety of scenarios commonly encountered when working with time series. The library is built using the widely used scikit-learn API, making it easy to integrate into existing workflows. With skforecast, users have access to a wide range of functionalities such as feature engineering, model selection, hyperparameter tuning and many others. This allows users to focus on the essential aspects of their projects and leave the intricacies of time series analysis to skforecast. In addition, skforecast is developed according to the following priorities:

Share Your Thoughts with Us

Thank you for choosing skforecast! We value your suggestions, bug reports and recommendations as they help us identify areas for improvement and ensure that skforecast meets the needs of the community. Please consider sharing your experiences, reporting bugs, making suggestions or even contributing to the codebase on GitHub. Together, let's make time series forecasting more accessible and accurate for everyone.

Documentation

For detailed information on how to use and leverage the full potential of skforecast please refer to the comprehensive documentation available at:

https://skforecast.org :books:

Documentation
:book: Introduction to forecastingBasics of forecasting concepts and methodologies
:rocket: Quick startGet started quickly with skforecast
:hammer_and_wrench: User guidesDetailed guides on skforecast features and functionalities
:mortar_board: Examples and tutorialsLearn through practical examples and tutorials to master skforecast
:question: FAQ and tipsFind answers and tips about forecasting
:books: API ReferenceComprehensive reference for skforecast functions and classes
:black_nib: AuthorsMeet the authors and contributors of skforecast

Installation & Dependencies

To install the basic version of skforecast with its core dependencies, run:

pip install skforecast

If you want to learn more about the installation process, dependencies and optional features, please refer to the Installation Guide.

What is new in skforecast 0.13?

Visit the release notes to view all notable changes.

Forecasters

A Forecaster object in the skforecast library is a comprehensive container that provides essential functionality and methods for training a forecasting model and generating predictions for future points in time.

The skforecast library offers a variety of forecaster types, each tailored to specific requirements such as single or multiple time series, direct or recursive strategies, or custom predictors. Regardless of the specific forecaster type, all instances share the same API.

ForecasterSingle seriesMultiple seriesRecursive strategyDirect strategyProbabilistic predictionTime series differentiationExogenous featuresCustom features
ForecasterAutoreg:heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark:
ForecasterAutoregCustom:heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark:
ForecasterAutoregDirect:heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark:
ForecasterMultiSeries:heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark:
ForecasterMultiSeriesCustom:heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark:
ForecasterMultiVariate:heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark:
ForecasterRNN:heavy_check_mark::heavy_check_mark:
ForecasterSarimax:heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark::heavy_check_mark:

Examples and tutorials

English

Español

How to contribute

Primarily, skforecast development consists of adding and creating new Forecasters, new validation strategies, or improving the performance of the current code. However, there are many other ways to contribute:

For more information on how to contribute to skforecast, see our Contribution Guide.

Visit our authors section to meet all the contributors to skforecast.

Citation

If you use skforecast for a scientific publication, we would appreciate citations to the published software.

Zenodo

Amat Rodrigo, Joaquin, & Escobar Ortiz, Javier. (2024). skforecast (v0.13.0). Zenodo. https://doi.org/10.5281/zenodo.8382788

APA:

Amat Rodrigo, J., & Escobar Ortiz, J. (2024). skforecast (Version 0.13.0) [Computer software]. https://doi.org/10.5281/zenodo.8382788

BibTeX:

@software{skforecast,
author = {Amat Rodrigo, Joaquin and Escobar Ortiz, Javier},
title = {skforecast},
version = {0.13.0},
month = {8},
year = {2024},
license = {BSD-3-Clause},
url = {https://skforecast.org/},
doi = {10.5281/zenodo.8382788}
}

View the citation file.

Donating

If you found skforecast useful, you can support us with a donation. Your contribution will help to continue developing and improving this project. Many thanks!

<a href="https://www.buymeacoffee.com/skforecast"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=skforecast&button_colour=f79939&font_colour=000000&font_family=Poppins&outline_colour=000000&coffee_colour=FFDD00" /></a> <br>

paypal

License

BSD-3-Clause License

<!-- Links to API Reference --> <!-- Forecasters --> <!-- [ForecasterAutoreg]: https://skforecast.org/latest/api/forecasterautoreg [ForecasterAutoregCustom]: https://skforecast.org/latest/api/forecasterautoregcustom [ForecasterAutoregDirect]: https://skforecast.org/latest/api/forecasterautoregdirect [ForecasterRNN]: https://skforecast.org/latest/api/forecasterrnn [ForecasterSarimax]: https://skforecast.org/latest/api/forecastersarimax [Sarimax]: https://skforecast.org/latest/api/sarimax [ForecasterEquivalentDate]: https://skforecast.org/latest/api/forecasterbaseline#skforecast.ForecasterBaseline.ForecasterEquivalentDate --> <!-- metrics --> <!-- model_selection --> <!-- model_selection_multiseries --> <!-- model_selection_sarimax --> <!-- preprocessing --> <!-- plot --> <!-- datasets --> <!-- utils -->