You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Chris Schilling <ch...@gmail.com> on 2011/02/23 20:11:48 UTC
precomputed item similarities online
Hi,
I have looked through some of the previous posts, but could not find my answer. I know it is possible to precompute item similarities offline using a map reduce job. Is it possible to do this online (in memory) before asking the system for recommendations?
Is this the right constructor for that:
GenericItemSimilarity(ItemSimilarity otherSimilarity, DataModel dataModel)
Thanks
Chris
Re: precomputed item similarities online
Posted by Chris Schilling <ch...@gmail.com>.
Sure, I can take care of that. Just wondering if it already existed.
On Feb 23, 2011, at 12:31 PM, Sean Owen wrote:
> No, though that's fairly easy to write.
>
> On Wed, Feb 23, 2011 at 8:14 PM, Chris Schilling
> <ch...@gmail.com>wrote:
>
>> Thanks Sean,
>>
>> One more small thing. Once these are calculated online, is there s simple
>> method to write them to a file which can be read in in the future? I
>> searched around a bit but could not find an api for this.
>>
>>
Re: precomputed item similarities online
Posted by Sean Owen <sr...@gmail.com>.
No, though that's fairly easy to write.
On Wed, Feb 23, 2011 at 8:14 PM, Chris Schilling
<ch...@gmail.com>wrote:
> Thanks Sean,
>
> One more small thing. Once these are calculated online, is there s simple
> method to write them to a file which can be read in in the future? I
> searched around a bit but could not find an api for this.
>
>
Re: precomputed item similarities online
Posted by Chris Schilling <ch...@gmail.com>.
Thanks Sean,
One more small thing. Once these are calculated online, is there s simple method to write them to a file which can be read in in the future? I searched around a bit but could not find an api for this.
On Feb 23, 2011, at 11:16 AM, Sean Owen wrote:
> Yes, exactly so.
>
> On Wed, Feb 23, 2011 at 7:11 PM, Chris Schilling
> <ch...@gmail.com>wrote:
>
>> Hi,
>>
>> I have looked through some of the previous posts, but could not find my
>> answer. I know it is possible to precompute item similarities offline using
>> a map reduce job. Is it possible to do this online (in memory) before
>> asking the system for recommendations?
>>
>> Is this the right constructor for that:
>> GenericItemSimilarity(ItemSimilarity otherSimilarity, DataModel dataModel)
>>
>> Thanks
>> Chris
>>
>>
Re: precomputed item similarities online
Posted by Sean Owen <sr...@gmail.com>.
Yes, exactly so.
On Wed, Feb 23, 2011 at 7:11 PM, Chris Schilling
<ch...@gmail.com>wrote:
> Hi,
>
> I have looked through some of the previous posts, but could not find my
> answer. I know it is possible to precompute item similarities offline using
> a map reduce job. Is it possible to do this online (in memory) before
> asking the system for recommendations?
>
> Is this the right constructor for that:
> GenericItemSimilarity(ItemSimilarity otherSimilarity, DataModel dataModel)
>
> Thanks
> Chris
>
>