#258258th of 433 in ML frameworks and librariesFor data and documents, data analysis

mlforecast

Python library for time series forecasting with scikit-learn style regressors

Stars
1.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
Jul 2026
Language
Python
Stars, last 29 weeks+104
6 May 2026: 1,207 stars13 May 2026: 1,211 stars20 May 2026: 1,212 stars27 May 2026: 1,216 stars3 Jun 2026: 1,216 stars10 Jun 2026: 1,217 stars17 Jun 2026: 1,221 stars24 Jun 2026: 1,227 stars1 Jul 2026: 1,231 stars8 Jul 2026: 1,235 stars15 Jul 2026: 1,242 stars22 Jul 2026: 1,247 stars29 Jul 2026: 1,251 stars5 Aug 2026: 1,254 stars12 Aug 2026: 1,258 stars19 Aug 2026: 1,263 stars26 Aug 2026: 1,265 stars2 Sept 2026: 1,270 stars9 Sept 2026: 1,271 stars16 Sept 2026: 1,273 stars23 Sept 2026: 1,276 stars30 Sept 2026: 1,278 stars7 Oct 2026: 1,279 stars14 Oct 2026: 1,283 stars21 Oct 2026: 1,288 stars28 Oct 2026: 1,297 stars4 Nov 2026: 1,300 stars11 Nov 2026: 1,305 stars18 Nov 2026: 1,307 stars25 Nov 2026: 1,311 stars

1,207 on 6 May 20261,311 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

mlforecast builds lag, rolling and date features for time series and trains any regressor with fit and predict methods, such as LightGBM or scikit-learn models, across many series at once. Forecasts use a recursive strategy, and conformal prediction provides intervals. It accepts pandas, polars, Spark, Dask and Ray data for distributed training.

Who it is for: Data scientists forecasting many series with boosted trees or sklearn models

Strengths

  • Works with any regressor that follows the scikit-learn fit/predict API, including LightGBM
  • Distributed training on Dask, Ray or Spark clusters
  • Conformal prediction intervals, exogenous variables and static covariates built in
  • Target transforms such as Differences are applied before fitting and reversed at predict time

Weaknesses

  • Predictions use a recursive strategy, so errors can compound over long horizons
  • Input must be a long-format dataframe with unique_id, ds and y columns
  • Forecasts depend on the chosen regressor and lag features, with no pretrained models included
  • Distributed mode needs a separately managed Dask, Ray or Spark cluster

What it needs

  • Needs pandas, scikit-learn, LightGBM (optional), Dask, Ray or Spark (optional, for distributed)
  • Models: scikit-learn compatible regressors, LightGBM

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#256gpytorchGaussian process library built on PyTorch with GPU-accelerated inference3.9k starsMIT49 out of 100
#257tntPyTorch library of training tools and utilities1.7k starscustom license49 out of 100
#259smac3Bayesian optimization library for hyperparameter tuning with racing1.3k starscustom license49 out of 100
#260onnxmltoolsConverts LightGBM, XGBoost, CatBoost, Core ML and other models to ONNX1.2k starsApache-2.049 out of 100
#261sonnetModule-based neural network library on top of TensorFlow 210k starsApache-2.048 out of 100