public interface UserBasedRecommender extends Recommender
Interface implemented by "user-based" recommenders.
| Modifier and Type | Method and Description |
|---|---|
long[] |
mostSimilarUserIDs(long userID,
int howMany) |
long[] |
mostSimilarUserIDs(long userID,
int howMany,
Rescorer<LongPair> rescorer) |
estimatePreference, getDataModel, recommend, recommend, recommend, recommend, removePreference, setPreferencerefreshlong[] mostSimilarUserIDs(long userID,
int howMany)
throws TasteException
userID - ID of user for which to find most similar other usershowMany - desired number of most similar users to findTasteException - if an error occurs while accessing the DataModellong[] mostSimilarUserIDs(long userID,
int howMany,
Rescorer<LongPair> rescorer)
throws TasteException
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
usersTasteException - if an error occurs while accessing the DataModelCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.