K-means function as a user-defined window function in PostgreSQL
C Perl
Latest commit d6a57ed Jun 26, 2012 @umitanuki Change convergence condition to DBL_EPSILON.
Previsou coding is bad since comparison between two 0.0 floating points
are not necessarily possible.
Failed to load latest commit information.
data Initial May 20, 2011
doc
input
output
COPYRIGHT
META.json
Makefile
README.md
kmeans.c
kmeans.control
kmeans.sql.in
plot.pl
test_xy.sql
uninstall_kmeans.sql

README.md

kmeans-postgresql

This module implements k-means clustering algorithm in PostgreSQL. It is a truly user-defined window function out of builtin functions, written in C.

Designed for PostgreSQL 8.4+

Hitoshi Harada