mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Roberson <>
Subject Re: Taste as External Web Server
Date Tue, 21 Apr 2009 05:03:11 GMT
 will be able to get back to you regarding the jar file in a couple of
days...waiting on jar file from colleague but sounds like that should work.

Have another question though...

btw using FileDataModel and RecommenderServlet to run slope one Recommender
as web service.

I wanted to update the datamodel for each http request as more user
preference data will be generated with each new request.

Would this be handled by a call to the reload() function contained within for each HTTP request?

It appears that this is the function call that begins the process of
updating the datamodel via a call to processfile().

Also, the reload function requires all ratings files to be uploaded to
update the datamodel. I assume this is done because the Map containing users
and their preferences is local only to the processfile() method.  I was
planning on making this Map global so that I can update the datamodel
without having to upload all the ratings files.  Do you see any pitfalls in
this plan?

-- Matt

On Mon, Apr 20, 2009 at 12:08 AM, Sean Owen <> wrote:

> Ultimately they need to get into WEB-INF/lib in the .war file. You can
> unpack/repack the .war file to accomplish this, either manually or
> with an Ant script. Or I believe that anything in taste-web/lib will
> get bundled into the .war file as well, within the new pom.xml script
> (Grant might be able to correct me there). Either of those work out?
> On Mon, Apr 20, 2009 at 6:16 AM, Matthew Roberson <>
> wrote:
> > I wanted to use Taste as an external web server.  I have been able to set
> up
> > Taste as such.
> >
> > However, I need to modify the file to include
> some
> > code that will preprocess user data/item content data in order to produce
> > the "ratings.txt" file.
> >
> > The included code has some dependencies, and I was wondering where to
> > include the .jar file resolving these dependencies such that they are
> > included within the .war file and recognized by the RecommenderServlet
> > application.
> >
> > I hope my question makes sense. ;)
> >
> > -- Matthew
> >

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message