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)
|
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 usershowMany
- 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 usershowMany
- desired number of most similar users to findrescorer
- 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.