org.mymedialite
Interface IItemAttributeAwareRecommender

All Superinterfaces:
java.lang.Cloneable, IRecommender
All Known Implementing Classes:
BPRLinear, ItemAttributeKNN, ItemAttributeKNN, WeightedItemAttributeKNN, WeightedItemHierarchicalAttributeKNN

public interface IItemAttributeAwareRecommender
extends IRecommender

Interface for recommenders that take binary item attributes into account


Method Summary
 SparseBooleanMatrix getItemAttributes()
          Getter for binary item attributes
 int numItemAttributes()
          Getter for number of binary item attributes
 void setItemAttributes(SparseBooleanMatrix s)
          Setter for binary item attributes
 
Methods inherited from interface org.mymedialite.IRecommender
canPredict, loadModel, predict, saveModel, toString, train
 

Method Detail

numItemAttributes

int numItemAttributes()
Getter for number of binary item attributes


getItemAttributes

SparseBooleanMatrix getItemAttributes()
Getter for binary item attributes


setItemAttributes

void setItemAttributes(SparseBooleanMatrix s)
Setter for binary item attributes