edu.qut.cs.rcmd.core.tag.recommender
Interface UserBasedTagRecommender

All Superinterfaces:
TagRecommender
All Known Implementing Classes:
GenericUserBasedTagRecommender

public interface UserBasedTagRecommender
extends TagRecommender

Author:
n7374186

Method Summary
 long[] mostSimilarUserIDs(long userID, int howMany)
           
 long[] mostSimilarUserIDs(long userID, int howMany, org.apache.mahout.cf.taste.recommender.Rescorer<org.apache.mahout.common.LongPair> rescorer)
           
 
Methods inherited from interface edu.qut.cs.rcmd.core.tag.recommender.TagRecommender
estimateTagScore, getDataModel, getTagModel, recommend, recommend, removeTagScore, setTagScore
 

Method Detail

mostSimilarUserIDs

long[] mostSimilarUserIDs(long userID,
                          int howMany)
                          throws org.apache.mahout.cf.taste.common.TasteException
Parameters:
userID - ID of user for which to find most similar other users
howMany - desired number of most similar users to find
Returns:
users most similar to the given user
Throws:
org.apache.mahout.cf.taste.common.TasteException - if an error occurs while accessing the DataModel

mostSimilarUserIDs

long[] mostSimilarUserIDs(long userID,
                          int howMany,
                          org.apache.mahout.cf.taste.recommender.Rescorer<org.apache.mahout.common.LongPair> rescorer)
                          throws org.apache.mahout.cf.taste.common.TasteException
Parameters:
userID - ID of user for which to find most similar other users
howMany - desired number of most similar users to find
rescorer - Rescorer which can adjust user-user similarity estimates used to determine most similar users
Returns:
IDs of users most similar to the given user
Throws:
org.apache.mahout.cf.taste.common.TasteException - if an error occurs while accessing the DataModel


Copyright © 2012. All Rights Reserved.