mlxtend

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

What is mlxtend?

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

Overview of mlxtend

What it is

Mlxtend (machine learning extensions) is a Python library of useful tools for day-to-day data science tasks. It provides extension and helper modules for Python's data analysis and machine learning libraries.

Key features

  • Ensemble methods such as stacking and voting classifiers
  • Feature selection and feature extraction techniques
  • Visualization utilities (e.g., decision regions, confusion matrices)
  • Plotting helpers for model analysis
  • Frequent pattern mining, including the Apriori algorithm for association rule mining

Use cases

Mlxtend is primarily used for ensemble learning, feature engineering, model visualization, and association rule mining in data science workflows. It integrates with scikit-learn and other scientific computing libraries.

Getting started

uv add mlxtend

For a one-off command:

uv run --with mlxtend python -c "import mlxtend; print(mlxtend.__version__)"

To install the latest development version from GitHub:

uv add "mlxtend @ git+https://github.com/rasbt/mlxtend.git"

License and pricing

This project is released under a permissive new BSD open source license (LICENSE-BSD3.txt) and is commercially usable. Artistic creative works (figures and images) are under the Creative Commons Attribution 4.0 International License. There is no warranty. The software 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/rasbtmlxtend.svg)](https://yunodb.com/tools/rasbtmlxtend?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/rasbtmlxtend?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/rasbtmlxtend.svg" alt="Featured on YunoDB" height="20"></a>