mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gökhan Çapan <>
Subject Re: Perfect neighbours
Date Tue, 02 Jun 2009 01:07:11 GMT
I also have a data set based on users' seen-not seen items and I tried a
demo to recommend items that a user hasn't seen yet. My demo source code is
based on Mahout's taste demo; I just BooleanTanimoto as similarity measure
between users.
        DataModel model=new FileDataModel(new File("ratings.txt"));
        UserSimilarity similarity =new
        UserNeighborhood neighborhood=new
        Recommender recommender=new

        List<RecommendedItem> recList=recommender.recommend(userID,5);

However, there is a problem here. The lists of recommended items are usually
same for different users which are not correlated, also they are irrelevant
recommendations. Then I divided the data set into three parts (populars,
moderates, rares) and I've seen that recommendation engine produces very
similar results for all populars, moderates, and rares. Does
NearestNUserNeighborhood algorithm causes that problem? Could you share your

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