mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <>
Subject Re: Trying to build simple recommender, but getting SQLException
Date Wed, 14 Oct 2009 12:39:00 GMT
Yes you must pass a user ID there.

I would amend your comment slightly. To really recommend users to items
(like 'which user will like this item most?') you would flip your data
around. Make users into items and vice versa.

Using the mostSimilarItems convenience method does something similar indeed
even if I would say it is not quite the same as recommendation.

On Oct 14, 2009 12:55 AM, "Gökhan Çapan" <> wrote:

BTW, you have that line in your code:

List<RecommendedItem> l = cachingRecommender.recommend(123, 2);
I think you'll try to recommend items for an item. That is not possible even
if you fix your database.
If you want to recommend items for an item, you should use an item based
recommender, and its mostSimilarItems function

On Mon, Oct 12, 2009 at 11:28 PM, Larry Homes <> wrote:
> Hello, > > I am tryi...
Gökhan Çapan

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