fix key name
This commit is contained in:
parent
f800a35fd1
commit
f0c6cca766
@ -27,7 +27,7 @@ class KMeansTest(unittest.TestCase):
|
|||||||
"""
|
"""
|
||||||
data = [{'xs': d['xs'],
|
data = [{'xs': d['xs'],
|
||||||
'ys': d['ys'],
|
'ys': d['ys'],
|
||||||
'id': d['id']} for d in self.cluster_data]
|
'ids': d['ids']} for d in self.cluster_data]
|
||||||
|
|
||||||
plpy._define_result('select', data)
|
plpy._define_result('select', data)
|
||||||
clusters = cc.kmeans('subquery', 2)
|
clusters = cc.kmeans('subquery', 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user