Hi there! I'm trying the item recomender, but it seems that the
RecommendedItem returned by recommender.recommend(uid,howmany) is a user not
an item.

using the ratings.dat provided by movie lens, the GroupLensDataModel
provided in the example:

//datamodel is the GroupLensDataModel
ItemSimilarity similarity = new PearsonCorrelationSimilarity(datamodel);
Recommender r  = new GenericItemBasedRecommender(datamodel, similarity);
r.recommend(1234,10);

The values do not appear to be items as some ids are really high (above the
10k movie limit of the dataset)

Is anything wrong with this code?

-- 
The intuitive mind is a sacred gift and the
rational mind is a faithful servant. We have
created a society that honors the servant and
has forgotten the gift.

Reply via email to