Re: [scikit-learn] Silhouette example - performance issue

2016-10-18 Thread Joel Nothman
And we can reduce any substantial performance issues by merging https://github.com/scikit-learn/scikit-learn/pull/7177 ... :) On 15 October 2016 at 00:55, Michael Eickenberg < michael.eickenb...@gmail.com> wrote: > Dear Anaël, > > if you wish, you could add a line to the example verifying this >

Re: [scikit-learn] Silhouette example - performance issue

2016-10-14 Thread Michael Eickenberg
Dear Anaël, if you wish, you could add a line to the example verifying this correspondence. E.g. by moving the print function from between the two silhouette evaluations to after and also evaluating that average and printing it in parentheses. Probably not necessary though. A comment would do

Re: [scikit-learn] Silhouette example - performance issue

2016-10-14 Thread Raghav R V
On Fri, Oct 14, 2016 at 3:27 PM, Anaël Bonneton wrote: > Hi, > > In the silhouette example (http://scikit-learn.org/ > stable/auto_examples/cluster/plot_kmeans_silhouette_ > analysis.html#sphx-glr-auto-examples-cluster-plot-kmeans- > silhouette-analysis-py), the

[scikit-learn] Silhouette example - performance issue

2016-10-14 Thread Anaël Bonneton
Hi, In the silhouette example ( http://scikit-learn.org/stable/auto_examples/cluster/plot_kmeans_silhouette_analysis.html#sphx-glr-auto-examples-cluster-plot-kmeans-silhouette-analysis-py), the silhouette values of each sample is computed twice: once with *silhouette_score *and once with