public final class RecommendationService extends Object
Modifier and Type | Method and Description |
---|---|
List<org.apache.mahout.cf.taste.recommender.RecommendedItem> |
getRecommendations(String strRecommender,
long lUserID,
int nCount)
Provides a list of recommended items for a given user based on a recommender
|
static RecommendationService |
instance()
Provides the unique instance
|
public static RecommendationService instance()
public List<org.apache.mahout.cf.taste.recommender.RecommendedItem> getRecommendations(String strRecommender, long lUserID, int nCount)
strRecommender
- The recommender namelUserID
- The User's IDnCount
- The number of recommendation whishedCopyright © 2015 City of Paris. All rights reserved.