Do you want to find the pair of vectors which are "farthest" and "nearest" ?
If yes, I think you will have to compare all pairs using

double distance(Vector v1, Vector v2);

of DistanceMeasure.

I don't think Mahout has something in built for this.
________________________________________
From: Raviv Pavel [[email protected]]
Sent: Wednesday, January 25, 2012 2:39 PM
To: [email protected]
Subject: Finding max/min distance

Given a list of vectors and a distance measure, what's the fastest way to
find the maximum & minimum distances in the list ?

Thanks.
*--*Raviv

Reply via email to