No BSD License  

Highlights from
K-means algorithm demo

4.66667

4.7 | 3 ratings Rate this file 46 Downloads (last 30 days) File Size: 1.46 KB File ID: #16762

K-means algorithm demo

by Mauricio Martinez-Garcia

 

08 Oct 2007 (Updated 09 Oct 2007)

A simple implementation of the kmeans algorithm

| Watch this File

File Information
Description

The k-means algorithm is widely used in a number applications like speech processing and image compression.

This script implements the algorithm in a simple but general way. It performs four basic steps.

1. Define k arbitrary prototypes from the data samples.
2. Assign each sample to the nearest prototype.
3. Recalculate prototypes as arithmetic means.
4. If a prototype changes, repeat step (2).

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
27 Oct 2007 Gunawan rudi  
02 Jun 2008 azzeddine menasria

thinks

24 May 2010 michael scheinfeild  
Please login to add a comment or rating.
Updates
09 Oct 2007

Filename clash fixed

Tag Activity for this File
Tag Applied By Date/Time
dsp Mauricio Martinez-Garcia 22 Oct 2008 09:30:46
kmeans vector quantization cluster seeking Mauricio Martinez-Garcia 22 Oct 2008 09:30:46
dsp Pedro Crespo del 03 Apr 2009 17:08:30
kmeans vector quantization cluster seeking Pedro Crespo del 03 Apr 2009 17:08:32
dsp Cris 11 Jan 2011 10:46:15
kmeans vector quantization cluster seeking Cris 11 Jan 2011 10:46:18
kmeans vector quantization cluster seeking zhao 06 Jun 2011 23:07:09
dsp zhao 06 Jun 2011 23:07:14
kmeans vector quantization cluster seeking Nahum Badillo 13 Oct 2011 20:07:56
dsp Nahum Badillo 13 Oct 2011 20:08:00

Contact us at files@mathworks.com