Skip to content
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.

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

Something went wrong with that request. Please try again.