Sean, Grant,

I'm happy to provide the code that creates the DataModel if you can tell me 
exactly what files to send. But I followed 
http://lucene.apache.org/mahout/taste.html#demo pretty literally (one 
exception, below), so whatever that code is should be exactly what those 
instructions intend.

The exception is that those instructions specified that the GroupLens 
ratings.dat and movies.dat files live in one place, but the demo wanted them in 
addition in some other place (I forget the exact path, but it was obvious from 
the error message). So I added symbolic links.

It just occurred to me that the instructions talked about ratings.dat and 
movies.dat, but did not mention users.dat. I wonder if copying that will let 
the demo work? I'll try that in a minute.



> Date: Thu, 28 May 2009 12:00:44 +0100
> Subject: Re: taste-web example booboo
> From: [email protected]
> To: [email protected]
> 
> The cause is that the DataModel has no items. (I will improve the
> error checking to produce a better error.) So there is some problem in
> loading up the DataModel. It seems to have succeeded but didn't load
> anything? weird. If you can, provide the code that creates the
> DataModel?
> 
> On Wed, May 27, 2009 at 10:54 PM, Jack Tanner  wrote:
>>
>> I'm trying to run the taste-web example using mahout 0.1 and the grouplens 
>> dataset. All the steps here went fine:
>>
>> http://lucene.apache.org/mahout/taste.html#demo
>> But now I get:
>>
>> Problem accessing /mahout-taste-webapp/RecommenderServlet. Reason:
>>    size must be at least 1
>> Caused by:java.lang.IllegalArgumentException: size must be at least 1
>>        at org.apache.mahout.cf.taste.impl.common.FastSet.(FastSet.java:68)
>>        at 
>> org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.(MemoryDiffStorage.java:110)

_________________________________________________________________
Insert movie times and more without leaving HotmailĀ®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009

Reply via email to