lazypredict

Python AutoML toolkit for benchmarking classification, regression, and time-series forecasting models, with GPU acceleration, MLflow tracking, and automated pre

What is lazypredict?

Python AutoML toolkit for benchmarking classification, regression, and time-series forecasting models, with GPU acceleration, MLflow tracking, and automated preprocessing.

Overview of lazypredict

What it is

Lazy Predict is a Python AutoML toolkit for benchmarking classification, regression, and time-series forecasting models. It helps build many basic models without much code and understand which models work better without any parameter tuning. It supports GPU acceleration, MLflow tracking, and automated preprocessing.

Key features

  • Over 40 built-in machine learning models - Automatic model selection for classification, regression, and time series forecasting - 20+ forecasting models including statistical (ETS, ARIMA, Theta), ML (Random Forest, XGBoost), deep learning (LSTM, GRU), and pretrained foundation models (TimesFM)
  • Automatic seasonal period detection via ACF - Multiple categorical encoding strategies: OneHot, Ordinal, Target, Binary - Built-in MLflow integration for experiment tracking - GPU acceleration for XGBoost, LightGBM, CatBoost, cuML (RAPIDS), LSTM/GRU, and TimesFM - Support for Python 3.10 through 3.14 - Custom metric evaluation support - Configurable timeout and cross-validation - Intel Extension for Scikit-learn acceleration support (opt-in)

Use cases

Rapid prototyping and benchmarking of classification, regression, and time series forecasting models. Initial model selection without parameter tuning. Automated comparison of multiple algorithms on a given dataset.

Getting started

Install via pip or conda: bash pip install lazypredict bash conda install -c conda-forge lazypredict Optional extras for boosting, encoders, time series, deep learning, and foundation models: bash pip install lazypredict[boost] pip install lazypredict[encoders] pip install lazypredict[timeseries] pip install lazypredict[timeseries,deeplearning] pip install lazypredict[timeseries,foundation] pip install lazypredict[all] Basic classification example: python from lazypredict.Supervised import LazyClassifier from sklearn.datasets import load_breast_cancer from sklearn.model_selection import train_test_split data = load_breast_cancer() X = data.data y = data.target X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.5, random_state=123) clf = LazyClassifier(verbose=0, ignore_warnings=True, custom_metric=None) models, predictions = clf.fit(X_train, X_test, y_train, y_test) print(models)

License and pricing

This project is licensed under the MIT License. It is open source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/shankarpandalalazypredict.svg)](https://yunodb.com/tools/shankarpandalalazypredict?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/shankarpandalalazypredict?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/shankarpandalalazypredict.svg" alt="Featured on YunoDB" height="20"></a>