Skip to main content

Fuzzy C-Means Clustering

Interactive visualization and computation of crisp and fuzzy C-Means clustering algorithms with real-time updates

Get Started

Everything you need to start exploring clustering algorithms.

Installation

Set up the project locally in minutes

Quick Start

Run your first clustering iteration

Core Concepts

Learn about clustering algorithms

Using the Interface

Master the interactive controls

Key Features

Powerful tools for exploring and understanding clustering algorithms.

Interactive Visualization

Real-time Chart.js scatter plots show clusters forming as you iterate

Dual Algorithms

Switch between crisp and fuzzy C-Means clustering variants

Step-by-Step Control

Iterate through the algorithm one step at a time to understand convergence

Matrix Views

Inspect distance and membership matrices for every iteration

Cost Function

Monitor the cost function live to track convergence

Flexible Input

Add points and centroids manually or generate them randomly

API Reference

Explore the algorithms, hooks, and utilities that power the application.

CMeans

Crisp C-Means clustering algorithm

Fuzzy C-Means

Fuzzy C-Means with soft membership

useCMeans Hook

React hook for state management

Distance Matrix

Compute Euclidean distances

Membership Matrix

Generate cluster assignments

Cost Function

Calculate clustering cost

Build docs developers (and LLMs) love