edu.qut.cs.rcmd.core.common.recommender
Class NPassCandidateItemsStrategy
java.lang.Object
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
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 |
NPassCandidateItemsStrategy
public NPassCandidateItemsStrategy()
NPassCandidateItemsStrategy
public NPassCandidateItemsStrategy(int N)
NPassCandidateItemsStrategy
public NPassCandidateItemsStrategy(int N,
int max_candidates)
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.