OK if that's the case, put the pre-computed values in a GenericItemSimilarity and you're done.
Hadoop most certainly does not help you compute anything 'on the fly'. It might help you precompute. Don't worry about distribution until you're sure you have a big scale problem, and that usually takes quite a bit of scale! Sean On Mon, Mar 12, 2012 at 5:25 PM, Mridul Kapoor <mridulkap...@gmail.com> wrote: > Yes, I can very much keep them pre-computed in a database. I intend to > refresh these on a regular basis -- maybe once or twice a week. So > pre-computing them is not a problem. > The idea is to use these pre-computed similarity values to pull up > recommendations on the fly (using a most-similar-sort-of-metric). > So that changes the picture here a bit. On the other hand, though, I would > really want this computation to take place as fast as possible. Leveraging > Hadoop somehow for the ItemSimilarity computation could help, maybe > (correct me if I am wrong here, and if I am right, how would I go about it) > > Thanks Again ! > Mridul