On Thu, Jan 24, 2013 at 9:24 AM, Gael Varoquaux
<[email protected]> wrote:

> Yes, there is a massive difference in amount of work and performance when
> you try to replace the Euclidean distance. Amongst other problems, the
> mean is no longer the sum divided by the number of points, but the
> Frechet mean, which requires solving an optimization problem.

Indeed, if you replace the Euclidean distance, you also need to change
the averaging.
If you use the Manhattan distance, the averaging becomes the median.

Mathieu

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to