You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by GitBox <gi...@apache.org> on 2019/09/16 20:09:45 UTC

[GitHub] [madlib] fmcquillan99 commented on issue #441: Kmeans: simplified silhouette per point for k-means

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:
users@infra.apache.org


With regards,
Apache Git Services