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

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

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


Constructor Summary
NPassCandidateItemsStrategy()
           
NPassCandidateItemsStrategy(int N)
           
NPassCandidateItemsStrategy(int N, int max_candidates)
           
 
Method Summary
 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

NPassCandidateItemsStrategy

public NPassCandidateItemsStrategy()

NPassCandidateItemsStrategy

public NPassCandidateItemsStrategy(int N)

NPassCandidateItemsStrategy

public NPassCandidateItemsStrategy(int N,
                                   int max_candidates)
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


Copyright © 2012. All Rights Reserved.