mlxtend
Machine Learning Library Extensions
Decision gist · record as of 2026-08-14
Yes. Mlxtend is actively maintained, has low install friction, carries no known vulnerabilities, and offers a focused set of utilities for ensemble methods, feature selection, and visualization—common tasks in machine learning workflows. The permissive BSD 3-Clause license poses no commercial restrictions. Install it if you need these specific capabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Low friction installation as a pure Python wheel with six well-established scientific dependencies.
- Actively maintained with recent commits and stable production status.
License · maintenance · safety
BSD 3-Clause (permissive) — Released under permissive BSD 3-Clause license, commercially usable with no warranty. Artistic works in the distribution are separately licensed under Creative Commons Attribution 4.0 International.
last release 2026-06-06 (69 days) · last repo commit 2026-08-05 · 5,167 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,130,691 downloads/mo, #4,319 on PyPI
Alternatives
Verify before relying
pip install mlxtend
from mlxtend.classifier import EnsembleVoteClassifier
from mlxtend.plotting import plot_decision_regions
from mlxtend.data import iris_data
X, y = iris_data()
eclf = EnsembleVoteClassifier(clfs=[], voting='soft')
eclf.fit(X, y)- Whether the Apriori algorithm implementation handles large datasets efficiently or has known performance limits.
- Specific version compatibility guarantees with scipy, numpy, pandas, matplotlib, and joblib beyond the stated runtime dependencies.
What it is and what it does
Mlxtend is a library of utilities and extensions for machine learning and data science built on top of the scientific Python stack. It fills gaps in common workflows by providing ensemble voting and stacking classifiers, feature selection and extraction techniques, and a suite of visualization helpers for model analysis and decision boundaries.
The library is primarily used for tasks like combining multiple classifiers through weighted voting or stacking, selecting relevant features from high-dimensional data, mining frequent itemsets with the Apriori algorithm, and plotting decision regions and confusion matrices for model interpretation. It depends on scipy, numpy, pandas, scikit-learn, matplotlib, and joblib, and is designed to integrate into existing data science pipelines.
Use it for
- Build ensemble classifiers that combine predictions from multiple base learners with configurable voting strategies and weights.
- Perform feature selection to identify the most informative features and reduce dimensionality before model training.
- Visualize decision boundaries and regions for classification problems to understand model behavior.
- Mine association rules and frequent itemsets from transactional data using the Apriori algorithm.
- Plot confusion matrices and other model evaluation artifacts for classification model analysis.
- Extract features using automated feature engineering methods.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Mlxtend is actively maintained, has low install friction, carries no known vulnerabilities, and offers a focused set of utilities for ensemble methods, feature selection, and visualization—common tasks in machine learning workflows. The permissive BSD 3-Clause license poses no commercial restrictions. Install it if you need these specific capabilities.
Install
mlxtend on PyPI
Before you install
Low friction installation as a pure Python wheel with six well-established scientific dependencies. Actively maintained with recent commits and stable production status.
Requires Python 3.11 or later.
License in practice
Released under permissive BSD 3-Clause license, commercially usable with no warranty. Artistic works in the distribution are separately licensed under Creative Commons Attribution 4.0 International.
Quickstart
pip install mlxtend
from mlxtend.classifier import EnsembleVoteClassifier
from mlxtend.plotting import plot_decision_regions
from mlxtend.data import iris_data
X, y = iris_data()
eclf = EnsembleVoteClassifier(clfs=[], voting='soft')
eclf.fit(X, y)
Verify before relying
- Whether the Apriori algorithm implementation handles large datasets efficiently or has known performance limits.
- Specific version compatibility guarantees with scipy, numpy, pandas, matplotlib, and joblib beyond the stated runtime dependencies.
Package facts
| License | BSD 3-Clause permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesscipynumpypandasscikit-learnmatplotlibjoblib |
| Maintenance | Actively maintained 69 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,130,691 / month, #4,319 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: BSD LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: Python :: 3.11Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Image RecognitionTopic :: Scientific/Engineering :: Information Analysis |
Evidence: mlxtend-0.25.0-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 › “ensemble voting stacking classifiers”
- mlxtendMlxtend provides ensemble methods, feature selection, visualization…
- pytabkitPyTabKit provides scikit-learn interfaces to modern tabular machine…
- ydfYDF trains, evaluates, and interprets decision forest models (Random…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also Boruta · corner · skope-rules · dtreeviz · xgboost · treeinterpreter · yellowbrick · pytabkit · pm4py · gamma-pytools