K-means function as a user-defined window function in PostgreSQL
C Perl
Switch branches/tags
Nothing to show
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.



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