You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Nadia Najjar <ne...@gmail.com> on 2013/03/02 07:33:59 UTC

FileDataModel

I am using a FileDataModel and remove and insert preferences before estimating preferences. Do I need to rebuild the recommender after these methods are called for it to be reflected in the prediction?

Re: FileDataModel

Posted by Sean Owen <sr...@gmail.com>.
That's true, it does now. Depending on the implementation, you may still
need to rebuild things to reflect the changes. Also note that this wouldn't
invalidate caches you put on top.


On Sun, Mar 3, 2013 at 7:55 AM, Nadia Najjar <ne...@gmail.com> wrote:

> Thanks, Sean!
> The remove/setPreference methods throw an UnsupportedOperationException. I
> read in an old thread that you had updated these methods to work.  I'm not
> sure what I'm missing here. Can you point me in the right direction?
>
>
> On Mar 2, 2013, at 6:42 AM, Sean Owen wrote:
>
> > Yes to integrate any new data everything must be reloaded.
> > On Mar 2, 2013 6:34 AM, "Nadia Najjar" <ne...@gmail.com> wrote:
> >
> >> I am using a FileDataModel and remove and insert preferences before
> >> estimating preferences. Do I need to rebuild the recommender after these
> >> methods are called for it to be reflected in the prediction?
>
>

Re: FileDataModel

Posted by Nadia Najjar <ne...@gmail.com>.
Thanks, Sean! 
The remove/setPreference methods throw an UnsupportedOperationException. I read in an old thread that you had updated these methods to work.  I'm not sure what I'm missing here. Can you point me in the right direction?


On Mar 2, 2013, at 6:42 AM, Sean Owen wrote:

> Yes to integrate any new data everything must be reloaded.
> On Mar 2, 2013 6:34 AM, "Nadia Najjar" <ne...@gmail.com> wrote:
> 
>> I am using a FileDataModel and remove and insert preferences before
>> estimating preferences. Do I need to rebuild the recommender after these
>> methods are called for it to be reflected in the prediction?


Re: FileDataModel

Posted by Sean Owen <sr...@gmail.com>.
Yes to integrate any new data everything must be reloaded.
On Mar 2, 2013 6:34 AM, "Nadia Najjar" <ne...@gmail.com> wrote:

> I am using a FileDataModel and remove and insert preferences before
> estimating preferences. Do I need to rebuild the recommender after these
> methods are called for it to be reflected in the prediction?