edu.qut.cs.rcmd.core.common.recommender
Class UserNeighborhoodBasedCandidateItemsStrategy

java.lang.Object
  extended by edu.qut.cs.rcmd.core.common.recommender.UserNeighborhoodBasedCandidateItemsStrategy
All Implemented Interfaces:
org.apache.mahout.cf.taste.recommender.CandidateItemsStrategy

public class UserNeighborhoodBasedCandidateItemsStrategy
extends Object
implements org.apache.mahout.cf.taste.recommender.CandidateItemsStrategy


Constructor Summary
UserNeighborhoodBasedCandidateItemsStrategy(org.apache.mahout.cf.taste.neighborhood.UserNeighborhood userNeighborhood)
           
 
Method Summary
 org.apache.mahout.cf.taste.impl.common.FastIDSet getCandidateItems(long userID, long[] userNeighbours, org.apache.mahout.cf.taste.model.PreferenceArray preferencesFromUser, org.apache.mahout.cf.taste.model.DataModel dataModel)
           
 org.apache.mahout.cf.taste.impl.common.FastIDSet getCandidateItems(long userID, org.apache.mahout.cf.taste.model.PreferenceArray preferencesFromUser, org.apache.mahout.cf.taste.model.DataModel dataModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserNeighborhoodBasedCandidateItemsStrategy

public UserNeighborhoodBasedCandidateItemsStrategy(org.apache.mahout.cf.taste.neighborhood.UserNeighborhood userNeighborhood)
Method Detail

getCandidateItems

public org.apache.mahout.cf.taste.impl.common.FastIDSet getCandidateItems(long userID,
                                                                          org.apache.mahout.cf.taste.model.PreferenceArray preferencesFromUser,
                                                                          org.apache.mahout.cf.taste.model.DataModel dataModel)
                                                                   throws org.apache.mahout.cf.taste.common.TasteException
Specified by:
getCandidateItems in interface org.apache.mahout.cf.taste.recommender.CandidateItemsStrategy
Throws:
org.apache.mahout.cf.taste.common.TasteException

getCandidateItems

public org.apache.mahout.cf.taste.impl.common.FastIDSet getCandidateItems(long userID,
                                                                          long[] userNeighbours,
                                                                          org.apache.mahout.cf.taste.model.PreferenceArray preferencesFromUser,
                                                                          org.apache.mahout.cf.taste.model.DataModel dataModel)
                                                                   throws org.apache.mahout.cf.taste.common.TasteException
Throws:
org.apache.mahout.cf.taste.common.TasteException


Copyright © 2012. All Rights Reserved.