Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Database Workbench Pro 5.4.6
Extensibility Studio 3.0
Bytescout Spreadsheet SDK 3.0.0.1699
Magento 2 Admin Mobile App 1.0
Data Compare for MySQL 5.3
ODBC Driver for Zoho CRM 1.3
ODBC Driver for SugarCRM 1.3
Bytescout PDF To HTML SDK 9.0.0.3079
Azizi search engine script PHP 4.1.10
TaxiSoftr - Taxi Booking & Dispatch Software 1.0
VisualNEO for Windows 18.08.31
AnyMap JS Maps 8.4.0
ODBC Driver for MailChimp 1.3
OrgChart JS 3.0.7
AnyStock Stock and Financial JS Charts 8.4.0
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Database Workbench Pro 5.4.6
Stepping stone algorithum for solving the transhipment problem
LMS Algorithm Demonstration 1.0
Cuckoo Search (CS) Algorithm 1.0
Online Food Ordeing System 1.0
Blind detection of the number of sources with a predicted eigenvalue approach 1.0
Real Time Battle 1.1
A Shooting Game 1.1
Genetic Algorithm for n-queen problem 1.0
Detect circles with various radii in grayscale image via Hough Transform 1.0
Issue Manager App 1.0
Hough Transform for circle detection 1.0
Trading Software 1.2.4
Kalman Filter Tutorial 1.0
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Advanced MLM Software 1.2
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
PHP Point of sale 10.0
Travel Portal Script 9.29
Excel Add-in for Bigcommerce 1.6
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
K-means 
File ID: 64379






K-means 
Download K-means http://code.activestate.com/recipes/577735-expectation-maximization/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 502
Submit Rating:
K-means  Description
Description: Hard and soft k-means implemented simply in python (with numpy). Quick and dirty, tested and works on large (10k+ observations, 2-10 features) real-world data.

License: Freeware

Related: data mining, machine learning

O/S:Windows

Downloads: 502



More Similar Code

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).



Codes for fuzzy k means clustering, including k means with extragrades, Gustafson Kessel algorithm, fuzzy linear discriminant analysis. Performance measure is also calculated.



An implementation of "k-Means Projective Clustering" by P. K. Agarwal and N. H. Mustafa.

This method of clustering is based on finding few subspaces such that each point is close to a subspace.



K-means image segmentation based on histogram to reduce memory usage which is constant for any image size.



This is a tool for K-means clustering. After trying several different ways to program, I got the conclusion that using simple loops to perform distance calculation and comparison is most efficient and accurate because of the JIT acceleration in...



[L, C, D] = FKMEANS(X, k) partitions the vectors in the n-by-p matrix X
into k (or, rarely, fewer) clusters by applying the well known batch
K-means algorithm. Rows of X correspond to points, columns correspond to
variables. The...



Usage: [means,c]=KNMCluster(k,indata)

KNMCluster is an implementation of the K-means clustering algorithm. It takes inputs k and indata. k is the initial guess of the number of clusters.

indata is the aggregate data that you...



Description DC is simple and effective which can outperform the K-means and AP algorithm.



PBKM is simple and effective which can outperform the K-means algorithm.



This is an implementation of the paper
k-means++: the advantages of careful seeding.

It converges very quickly.

User Review for K-means
- required fields
     

Please enter text on the image