|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusteringRecommender
Interface implemented by "clustering" recommenders.
Method Summary | |
---|---|
FastIDSet |
getCluster(long userID)
Returns the cluster of users to which the given user, denoted by user ID, belongs. |
FastIDSet[] |
getClusters()
Returns all clusters of users. |
Methods inherited from interface org.apache.mahout.cf.taste.recommender.Recommender |
---|
estimatePreference, getDataModel, recommend, recommend, removePreference, setPreference |
Methods inherited from interface org.apache.mahout.cf.taste.common.Refreshable |
---|
refresh |
Method Detail |
---|
FastIDSet getCluster(long userID) throws TasteException
Returns the cluster of users to which the given user, denoted by user ID, belongs.
userID
- user ID for which to find a cluster
FastIDSet
of IDs of users in the requested user's cluster
TasteException
- if an error occurs while accessing the DataModel
FastIDSet[] getClusters() throws TasteException
Returns all clusters of users.
FastIDSet
s of user IDs
TasteException
- if an error occurs while accessing the DataModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |