octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #10051] [octave forge] (statistics) Add "s


From: anonymous
Subject: [Octave-patch-tracker] [patch #10051] [octave forge] (statistics) Add "squaredeuclidean" distance to function pdist
Date: Fri, 23 Jul 2021 04:34:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Follow-up Comment #2, patch #10051 (project octave):

No, it is a bit confusing, but that is the way it is. The point is that the
"sqEuclidean" metric of silhouette is not the "seuclidean" metric of pdist,
but the "squaredeuclidean" metric, which was missing. The squared Euclidean
distance is fast to compute, but it does not satisfy the triangle inequality
and does not define a metric space, and that is probably why, so far, none
bothered enough to add it to pdist in Octave. I guess that the silhouette
method (which is an empirical method, after all) is usually better served by a
fast algorithm.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10051>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]