finds.dev← search

// the find

rasbt/mlxtend

★ 5,151 · Python · NOASSERTION · updated Jun 2026

A library of extension and helper modules for Python's data analysis and machine learning libraries.

mlxtend is a Python toolkit from Sebastian Raschka that fills gaps in scikit-learn: stacking/voting ensembles, Apriori association rules, sequential feature selection, and plotting utilities that sklearn doesn't ship. It's aimed at practitioners who want battle-tested classical ML utilities without rolling their own. Active since 2014 with a JOSS paper, so it has academic credibility and real staying power.

The stacking and voting classifiers are genuinely useful and predate sklearn's own StackingClassifier — the CV-based stacking implementation avoids the common data leakage trap that naive stacking falls into. The Apriori/association rules module is the go-to implementation in Python; nothing in sklearn touches it. The bias-variance decomposition utility is rare — most libraries don't expose this and it's actually helpful for debugging overfitting. Documentation is Jupyter notebooks rendered as a user guide, so examples are runnable and show actual output rather than toy snippets.

The library carries a lot of dead weight: custom Logistic Regression, Perceptron, Adaline, and MLP implementations that have no reason to exist now that sklearn, PyTorch, and JAX are everywhere — they're pedagogical leftovers that bloat the API surface. No GPU support anywhere, which means the ensemble methods hit a wall on anything larger than tabular data. The feature selection utilities (sequential forward/backward selection) are single-threaded and slow compared to modern alternatives like RFECV with n_jobs. AppVeyor CI badge in the README is a yellow flag — that's a very old CI setup and suggests some parts of the toolchain haven't been touched in years.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →