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 <[email protected]> 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)
