pycaret
PyCaret - An open source, low-code machine learning library in Python.
Decision gist · record as of 2026-08-14
Yes, if you want to accelerate ML prototyping and experimentation. PyCaret is actively maintained, has no known vulnerabilities, and installs cleanly. The 34 dependencies are a trade-off: they bloat your environment but eliminate the need to manually orchestrate scikit-learn, LightGBM, and visualization libraries. Best suited for rapid iteration and learning; less ideal if you need fine-grained control over every preprocessing step or want a minimal dependency footprint.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- GPU training requires additional setup (e.g., LightGBM GPU libraries) if use_gpu=True is passed.
- Low install friction with a pure-wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute PyCaret freely provided you include the license notice.
last release 2024-04-28 (838 days) · last repo commit 2026-07-23 · 9,834 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 483,296 downloads/mo, #6,414 on PyPI
Alternatives
Verify before relying
from pycaret.datasets import get_data
from pycaret.classification import setup, compare_models, predict_model
data = get_data('juice')
s = setup(data, target='Purchase', session_id=123)
best = compare_models()
predictions = predict_model(best, data=data)- Whether the 34 listed runtime dependencies are all installed by default or only with extras like [full], [analysis], or [models].
- Performance characteristics and scalability limits for large datasets or high-dimensional feature spaces.
- Stability and API compatibility guarantees across minor versions.
What it is and what it does
PyCaret is a low-code machine learning library that automates the end-to-end workflow of building, comparing, and deploying supervised and unsupervised models. It wraps popular libraries like scikit-learn, LightGBM, and statsmodels, reducing hundreds of lines of boilerplate code to a handful of function calls. You initialize a setup with your data and target, then call compare_models() to automatically train and rank candidate algorithms, evaluate_model() to inspect performance, and predict_model() to generate predictions on new data. The library supports classification, regression, time-series forecasting, clustering, and anomaly detection through both a functional API and an object-oriented API.
PyCaret is designed for data scientists who want to prototype quickly, citizen data scientists with moderate technical depth, and ML students. It handles preprocessing, feature engineering, hyperparameter tuning, and model selection internally. The library includes visualization tools (via matplotlib, plotly, yellowbrick) and supports GPU acceleration for tree-based models. With 34 runtime dependencies spanning the scientific Python stack, it trades environment size for convenience—you get a complete ML toolkit in one package.
Use it for
- Rapidly prototype classification or regression models on a new dataset without writing custom preprocessing or cross-validation code.
- Compare multiple algorithms automatically to identify the best performer before investing in tuning.
- Build time-series forecasts or detect anomalies in sensor/log data with minimal boilerplate.
- Train clustering models and visualize results interactively for exploratory data analysis.
- Generate model predictions on hold-out or new data and export trained pipelines for deployment.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want to accelerate ML prototyping and experimentation.
PyCaret is actively maintained, has no known vulnerabilities, and installs cleanly. The 34 dependencies are a trade-off: they bloat your environment but eliminate the need to manually orchestrate scikit-learn, LightGBM, and visualization libraries. Best suited for rapid iteration and learning; less ideal if you need fine-grained control over every preprocessing step or want a minimal dependency footprint.
Install
pycaret on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with recent commits and no known vulnerabilities. The 34 runtime dependencies are substantial but standard ML stack (numpy, pandas, scikit-learn, LightGBM, plotly, statsmodels)—expect a moderately sized environment.
Requires Python 3.9 or later. GPU training requires additional setup (e.g., LightGBM GPU libraries) if use_gpu=True is passed.
License in practice
MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute PyCaret freely provided you include the license notice.
Quickstart
from pycaret.datasets import get_data
from pycaret.classification import setup, compare_models, predict_model
data = get_data('juice')
s = setup(data, target='Purchase', session_id=123)
best = compare_models()
predictions = predict_model(best, data=data)
Verify before relying
- Whether the 34 listed runtime dependencies are all installed by default or only with extras like [full], [analysis], or [models].
- Performance characteristics and scalability limits for large datasets or high-dimensional feature spaces.
- Stability and API compatibility guarantees across minor versions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 34 packagesipythonipywidgetstqdmnumpypandasjinja2scipyjoblibscikit-learnpyodimbalanced-learncategory-encoderslightgbmnumbarequestspsutilmarkupsafeimportlib-metadatanbformatcloudpickledeprecationxxhashmatplotlibscikit-plotyellowbrickplotlykaleidoschemdrawplotly-resamplerstatsmodels |
| Maintenance | Actively maintained 838 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 483,296 / month, #6,414 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: pycaret-3.3.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “low-code machine learning”
- pycaretPyCaret automates machine learning workflows by wrapping…
- h2o-waveH2O Wave is a Python framework for building interactive web…
- django-viewflowViewflow is a low-code library for building business applications…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also skforecast · feature-engine · scikit-learn-intelex · azureml-sdk · xgboost-cpu · libcuml-cu12 · sktime · azureml-pipeline · dtreeviz · scikit-base