fmcquillan99 edited a comment on issue #441: Kmeans: simplified silhouette per point for k-means URL: https://github.com/apache/madlib/pull/441#issuecomment-531937741 Expected output: ``` Output For the average function, a single value for simple silhouette score is returned. For the per-point function, the output table contains the following columns: pid INTEGER. Point ID. centroid_id INTEGER. The cluster that the point is assigned to assignment. simple_silhouette DOUBLE PRECISION. Simplified silhouette score for the point. ``` what I got was ``` pid | centroids | silh -----+-----------+------------------- 1 | {0,1} | 0.966608819821713 2 | {0,1} | 0.926251125077039 3 | {0,1} | 0.28073008848306 4 | {1,0} | 0.951447083910869 5 | {0,1} | 0.80098239014753 6 | {1,0} | 0.972487557020722 7 | {1,0} | 0.88838568723116 8 | {1,0} | 0.906334719972002 9 | {0,1} | 0.994315140692314 10 | {0,1} | 0.99420347703982 (10 rows) ``` so for `centroids` column need to return a single int
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
