lazypredict: the example output reports the same number twice in every row
Lazy Predict help build a lot of basic models without much code and helps understand which models works better without any parameter tuning
At a glance
- What is it?
- A library that trains forty-odd models on your data and prints a leaderboard, extended in the current line with forecasting, foundation models and experiment tracking. Its example leaderboard reports ROC AUC identical to balanced accuracy on every single row, which no real evaluation produces.
- Who is it for?
- Use it for what it genuinely is good at, a first pass that tells you which model families are even in the running on your data before you spend time tuning. Do not quote its example table as evidence of anything, because the numbers in it cannot have come from an evaluation as described.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 24 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- shankarpandala/lazypredict3,353 ★ · +4
| Repository | 2026-09-11 | 2026-11-24 |
|---|---|---|
| shankarpandala/lazypredict | 3.3k | 3.4k |
4 Stars in the last 74 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Interpreting ROC AUC in the example
The documentation's example reports identical balanced accuracy and ROC AUC values across its binary classification table. Equality alone does not establish that a column was copied or that the results were fabricated: ROC AUC computed from binary predicted labels equals balanced accuracy for binary classification. Such an AUC reflects one operating point and is less informative about ranking than AUC computed from continuous scores.
The current development code uses predicted probabilities when available, then a decision function, and falls back to predicted labels otherwise. Check the exact release and its metric implementation before comparing results, and reproduce the example with fixed data and settings rather than inferring how the historical table was generated.
Identical scores do not prove a fabricated table
Different classifiers can make identical predictions on a finite test set and consequently report the same accuracy, balanced accuracy and F1 score, even when their algorithms differ. Equal displayed metrics can also result from rounding. The example table alone does not establish whether results were copied or fabricated; compare per-sample predictions and rerun the same split to investigate.
The manifest says 0.3.0 and the newest release is 0.3.1
The package metadata and the release list do not agree about the current version. The build file declares version 0.3.0, and the release list tops out at 0.3.1 from 2026-08-29, with 0.3.0 from 2026-03-15 and an alpha of 0.3.0 from the day before that. The default branch is not master either, it is dev, so what the build file describes is the development line rather than the last tag. The practical effect for a consumer is small but real: someone reading the repository sees a version number one release behind what they can install, and the alpha in the release list shows a prerelease that was published to the same channel as the finals. Build metadata lives in the pyproject file and the setup script is now three lines long, with a comment pointing at it, and a separate setup configuration file sits beside both.
The classifiers promise Python 3.14 and the documentation stops at 3.13
The interpreter support claims are written down three times and one of them is wider than the others. The feature list says support for Python 3.9 through 3.13. The metadata requires 3.9 or newer with no upper bound. And the trove classifiers enumerate 3.9, 3.10, 3.11, 3.12, 3.13 and then 3.14 as well, six interpreter versions where the documentation names five. The missing upper bound in requires-python is the part that matters operationally, because it means the installer will not stop you on an interpreter the classifiers never claimed, and the gap between the classifier list and the documentation means the documentation is the narrower of the two claims rather than the authority.
Six dependency groups exist that the installation section never names
The installation section documents four extras and an everything extra: boosting libraries, forecasting, forecasting with deep learning, forecasting with a foundation model, and all. The metadata defines twelve groups. Beyond the documented ones there are groups for experiment tracking, hyperparameter tuning with a Bayesian optimiser, plotting, model explanation with SHAP values, a separate interpretation library, an automated tuning framework, and Spark. None of those seven appears in the installation instructions, so a user who wants plots or explanations has to guess the group name, and the fact that the packages involved are named in the dependency list is the only clue. The metadata also adds a data-encoder dependency to the everything group that has no group of its own and is required by two of the documented categorical encoding options.
The requirements file installs the optional extras unconditionally
Two files describe what a project needs, and they are not the same list. The metadata has six required dependencies: a command line library, scikit-learn, pandas, a progress bar, joblib and numpy. The requirements file at the root adds three boosting libraries, two forecasting libraries and a tuning library on top of that:
click
scikit-learn>=1.0
pandas>=1.3
tqdm>=4.0
joblib>=1.0
numpy>=1.21
xgboost>=1.5
lightgbm>=3.0
statsmodels>=0.13
pmdarima>=2.0
optuna>=3.0So a developer who follows the requirements file installs the optional extras by default, while a user who installs the package gets none of them. That is a reasonable split for a repository requirements file and a common source of confusion when a bug reproduces locally and not on a user's machine. The experiment tracking package is absent from both, so its integration is optional in a way the requirements file does not hint at.
One extra is narrower than the package that contains it
The forecasting installation lines carry annotations, and one of them constrains the interpreter:
pip install lazypredict[timeseries] # statsmodels + pmdarima
pip install lazypredict[timeseries,deeplearning] # + LSTM/GRU via PyTorch
pip install lazypredict[timeseries,foundation] # + Google TimesFM (Python 3.10-3.11)The foundation group, which pulls a pretrained time series model, is annotated as Python 3.10 to 3.11 only, while the package itself requires 3.9 or newer with no ceiling and its classifiers run to 3.14. Nothing in the metadata encodes that restriction: the dependency is listed with no environment marker, so the resolver on 3.12 or 3.13 will attempt the install rather than decline it. The constraint exists only in a comment on an installation line, which means it is discovered by reading the documentation and not by installing.
Two release automation systems and four process documents at the root
The root directory tells two different stories about how the project is run. For releases there are two independent mechanisms: a release-please manifest and configuration, and a separate bumpversion configuration file, both of which will want to own the version string that the metadata also declares. For process there are four documents that are not code: a CI pipeline audit and plan, a library audit and improvement plan, an issue closure report and a roadmap, next to a change history, a contributing guide, an authors file, a citation file and a paper in both markdown and bibliography form. The build itself is the stock Makefile from a Python package template, down to the inline Python that prints the help screen and opens the coverage report in a browser. Its phony declaration covers seven targets while the file defines about ten, so lint, test, coverage and the release target are not declared phony and a file of the same name in the working directory would win.
Editorial conclusion
Use it for what it genuinely is good at, a first pass that tells you which model families are even in the running on your data before you spend time tuning. Do not quote its example table as evidence of anything, because the numbers in it cannot have come from an evaluation as described. Three things to check. The published version and the manifest disagree, so pin deliberately. The install surface is much wider than the installation section admits, with six dependency groups that exist in the metadata and not in the documentation, one of which narrows the supported Python range. And the requirements file installs the optional extras unconditionally, so a developer environment built from it is not the environment a user gets from the package index.
Frequently asked questions
what is lazy predict
A Python library that fits many standard models on your data in one call and prints a comparison table, so you can see which families are competitive before tuning anything. It covers classification, regression and time series forecasting, claims over forty built-in models including more than twenty forecasting models, and adds automatic seasonal period detection and built-in experiment tracking.
How do I install lazypredict with the extra dependencies?
The package installs with pip or conda, and optional groups cover boosting libraries, forecasting, forecasting with LSTM and GRU through PyTorch, and forecasting with a pretrained foundation model. There is also an all group. The documentation names four extras plus that one, while the metadata defines twelve groups, so plotting, explanation, tuning and Spark support exist but are not documented in the installation section.
Which Python versions does lazypredict support?
The feature list says Python 3.9 through 3.13 and the metadata requires 3.9 or newer with no upper bound, while the trove classifiers enumerate 3.9 through 3.14. One optional group, the pretrained foundation model, is annotated as usable only on Python 3.10 and 3.11.
Can lazypredict use a GPU?
There is a flag for it, off by default, and the feature list names what it accelerates: XGBoost, LightGBM, CatBoost, the RAPIDS machine learning library, the LSTM and GRU models, and the foundation model. The GPU flag is a parameter on the classifier and regressor rather than a separate install, and the accelerating packages are optional rather than required.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/shankarpandala-lazypredict)Star history chart for your README
[](https://hysenlabs.com/projects/shankarpandala-lazypredict)Was this useful?