From cbe8571546e2f89170ad7d294d4af7022112f3fe Mon Sep 17 00:00:00 2001 From: Andy Eschbacher Date: Tue, 15 Nov 2016 10:10:07 +0100 Subject: [PATCH] fixes argument in not-standardize --- src/py/crankshaft/crankshaft/clustering/kmeans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/crankshaft/crankshaft/clustering/kmeans.py b/src/py/crankshaft/crankshaft/clustering/kmeans.py index d070bf9..383584e 100644 --- a/src/py/crankshaft/crankshaft/clustering/kmeans.py +++ b/src/py/crankshaft/crankshaft/clustering/kmeans.py @@ -65,7 +65,7 @@ def kmeans_nonspatial(query, colnames, num_clusters=5, cluster_columns = _scale_data( _extract_columns(db_resp, out_id_colname)) else: - cluster_columns = _extract_columns(db_resp, id_col=out_id_colname) + cluster_columns = _extract_columns(db_resp, out_id_colname) # TODO: decide on optimal parameters for most cases # Are there ways of deciding parameters based on inputs?