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 <[email protected]> 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" <[email protected]> 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: [email protected] > > 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: [email protected] 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.
