It throws an exception except in a few implementations, mostly the
ones based on a database. It isn't something that's really used -- you
instead update the backing store indirectly. Yes, the model is batch
re-reads of data once in a while. Updates are not in real time in this
model.

On Wed, Jan 30, 2013 at 8:21 AM, Henning Kuich <hku...@gmail.com> wrote:
> So what does the method do instead?
>
> And basically the conclusion is: To "update" your recommender with new
> preference values, you need to reload the data model and everything that
> follows?
>
> Thanks,
>
> Henning
>
>
> On Tue, Jan 29, 2013 at 7:30 PM, Sean Owen <sro...@gmail.com> wrote:
>
>> It doesn't really work this way. The model is predicated on loading the
>> data from backing store periodically. In the short term it is read only.
>> This method is misleading in a sense.
>> On Jan 29, 2013 3:31 PM, "Henning Kuich" <hku...@gmail.com> wrote:
>>
>> > Dear All,
>> >
>> > I would like to be able to update recommendations in the DataModel, and I
>> > understand that this can be done with the setPreference() method. So this
>> > can be used to create a new user-item-preference entry into the data
>> model,
>> > or update an already existing one.
>> >
>> > My question is the following:
>> >
>> > I run my recommender.recommend, and get a recommendation for user1.
>> > As it happens, user1 now rates 5 other items, and I use the
>> setPreference()
>> > method to place those 5 new ratings into my DataModel.
>> > If I now re-run the recommender.recommend, does the recommender
>> > automatically incorporate the 5 new ratings that have just been made, or
>> do
>> > I need to update the recommender in between? And if so, how do I do this?
>> >
>> > I hope this question makes sense, and many thanks in advance.
>> >
>> > Henning
>> > --
>> >
>> > P. Henning J. L. Kuich
>> > email: hku...@gmail.com
>> > twitter: @hkuich <http://twitter.com/hkuich>
>> > facebook: henning.kuich
>> > G+: hkuich
>> >
>> > Confidentiality Notice: This e-mail message, including any
>> > attachments, is for the sole use of the intended recipient(s) and may
>> > contain confidential and privileged information.  Any unauthorized
>> > review, use, disclosure or distribution is prohibited.  If you are not
>> > the intended recipient, please contact the sender by reply e-mail and
>> > destroy all copies of the original message.
>> >
>>
>
>
>
> --
>
> P. Henning J. L. Kuich
> email: hku...@gmail.com
> twitter: @hkuich <http://twitter.com/hkuich>
> facebook: henning.kuich
> G+: hkuich
>
> Confidentiality Notice: This e-mail message, including any
> attachments, is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information.  Any unauthorized
> review, use, disclosure or distribution is prohibited.  If you are not
> the intended recipient, please contact the sender by reply e-mail and
> destroy all copies of the original message.

Reply via email to