mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <>
Subject Re: Matrix to Matrix Distance
Date Thu, 09 Dec 2010 23:35:01 GMT
This sounds like a map side join.  Put all of A into memory and have the
mappers compare vectors
of B to all rows of A.

2010/12/9 Fernando Fernández <>

> Hi everyone,
> I'm facing a problem where I should compute, not the pair-wise distances of
> the rows of a matrix, but the distances of each row of an small matrix (A
> ~1000 rows) to all the rows of a big matrix (B ~100000 rows), to determine
> the nearest elements of B for each row of A. Is there an easy way to do
> this
> in Mahout? (besides putting rows of A and B into a big matrix (C) and
> launching a rowsimilarityjob, which would be very inefficient).
> Thanks in advance.
> Fernando.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message