edu.qut.cs.rcmd.core.tag.recommender.impl
Class AbstractCandidateTagsStrategy
java.lang.Object
edu.qut.cs.rcmd.core.tag.recommender.impl.AbstractCandidateTagsStrategy
- All Implemented Interfaces:
- CandidateTagsStrategy
public class AbstractCandidateTagsStrategy
- extends Object
- implements CandidateTagsStrategy
- Author:
- n7374186
Method Summary |
Set<String> |
getCandidateTags(long userID,
long itemID,
org.apache.mahout.cf.taste.model.PreferenceArray userItemPreferenceArray,
org.apache.mahout.cf.taste.model.DataModel dataModel,
TagModel tagModel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCandidateTagsStrategy
public AbstractCandidateTagsStrategy()
getCandidateTags
public Set<String> getCandidateTags(long userID,
long itemID,
org.apache.mahout.cf.taste.model.PreferenceArray userItemPreferenceArray,
org.apache.mahout.cf.taste.model.DataModel dataModel,
TagModel tagModel)
throws org.apache.mahout.cf.taste.common.TasteException
- Specified by:
getCandidateTags
in interface CandidateTagsStrategy
- Returns:
- set of all tags that could be recommended to the user
userItemPreferenceArray is boolean preference array which
represents tag as implicit rating for user - item pair
- Throws:
org.apache.mahout.cf.taste.common.TasteException
Copyright © 2012. All Rights Reserved.