org.apache.mahout.cf.taste.recommender
Interface CandidateItemsStrategy
- All Known Implementing Classes:
- AbstractCandidateItemsStrategy, AllSimilarItemsCandidateItemsStrategy, AllUnknownItemsCandidateItemsStrategy, PreferredItemsNeighborhoodCandidateItemsStrategy, SamplingCandidateItemsStrategy
public interface CandidateItemsStrategy
Used to retrieve all items that could possibly be recommended to the user
getCandidateItems
FastIDSet getCandidateItems(long userID,
PreferenceArray preferencesFromUser,
DataModel dataModel)
throws TasteException
- Returns:
- IDs of all items that could be recommended to the user
- Throws:
TasteException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.