Skip to main content
Ctrl+K

sklekmeans 0.1.2 documentation

  • Quick Start
  • User Guide
  • API Reference
  • Benchmarks
  • Examples Gallery
  • GitHub
  • Quick Start
  • User Guide
  • API Reference
  • Benchmarks
  • Examples Gallery
  • GitHub
  • Examples Gallery

Examples Gallery#

This gallery showcases how to use the estimators provided by sklekmeans.

Contents#

  • example.py: Minimal example demonstrating a basic EKMeans fit.

  • plot_imbalanced_ekmeans.py: Comparison of clustering on an imbalanced dataset.

How to run locally#

You can execute the examples directly, or build the documentation to render the plots and notebooks via Sphinx-Gallery.

To build the documentation gallery locally:

  1. Install the docs dependencies:

    pip install -e .[docs]

  2. Build the docs:

    sphinx-build -E -b html doc doc\_build\html

The gallery will appear under doc/_build/html/auto_examples.

Imbalanced clustering comparison with EKMeans

Imbalanced clustering comparison with EKMeans

Comparing EKMeans and other clustering algorithms on toy datasets

Comparing EKMeans and other clustering algorithms on toy datasets

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

Benchmarks

next

Imbalanced clustering comparison with EKMeans

On this page
  • Contents
  • How to run locally
Edit on GitHub

This Page

  • Show Source

© Copyright 2025, Yudong He.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.