fmcquillan99 commented on issue #441: Kmeans: simplified silhouette per point 
for k-means
URL: https://github.com/apache/madlib/pull/441#issuecomment-531937741
 
 
   Expected output:
   ```
   
   pid | INTEGER. Point ID.
   -- | --
   INTEGER. The cluster that the point is assigned to assignment.
   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

Reply via email to