Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

K-means function as a user-defined window function in PostgreSQL

branch: master

Change convergence condition to DBL_EPSILON.

Previsou coding is bad since comparison between two 0.0 floating points
are not necessarily possible.
latest commit d6a57eda9e
Hitoshi Harada authored
Octocat-spinner-32 data Initial May 20, 2011
Octocat-spinner-32 doc Fix typos/grammers and reported uninitialized variables. April 11, 2012
Octocat-spinner-32 input Fix NULL handling. July 17, 2011
Octocat-spinner-32 output Fix NULL handling. July 17, 2011
Octocat-spinner-32 COPYRIGHT Initial May 20, 2011
Octocat-spinner-32 META.json Revert META.json spec ver. July 23, 2011
Octocat-spinner-32 Makefile Update doc, META.json, and Makefile July 23, 2011
Octocat-spinner-32 README.md fix minor typo. February 04, 2012
Octocat-spinner-32 kmeans.c Change convergence condition to DBL_EPSILON. June 26, 2012
Octocat-spinner-32 kmeans.control Update doc, META.json, and Makefile July 23, 2011
Octocat-spinner-32 kmeans.sql.in Initial May 20, 2011
Octocat-spinner-32 plot.pl Initial May 20, 2011
Octocat-spinner-32 test_xy.sql Add test data, proved by Mike Toews. July 23, 2011
Octocat-spinner-32 uninstall_kmeans.sql Initial May 20, 2011
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.