From 8c29e3e5eb80ac33586205481aea94be734f9fd1 Mon Sep 17 00:00:00 2001 From: Philmod Date: Mon, 22 Oct 2012 23:27:25 +0200 Subject: [PATCH] readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a743a81..365c1a3 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ kmeans.clusterize(vectors, {k: 4}, function(err,res) { }); ``` ## Intputs - - vectors is a nXm array (n [lines] : number of points, m [columns] : number of dimensions) - - options object + - 'vectors' is a nXm array (n [lines] : number of points, m [columns] : number of dimensions) + - options object: - k : number of clusters ## Outputs @@ -42,6 +42,7 @@ An array of objects (one for each cluster) with the following properties: - clusterInd : array of X integers which are the indexes of the input data ## To do + - Tests - Technique to avoid local optima (mutation, ...) ## License