org.mymedialite
Interface IUserAttributeAwareRecommender

All Superinterfaces:
java.lang.Cloneable, IRecommender
All Known Implementing Classes:
UserAttributeKNN, UserAttributeKNN

public interface IUserAttributeAwareRecommender
extends IRecommender

Interface for recommenders that take binary user attributes into account


Method Summary
 SparseBooleanMatrix getUserAttributes()
          Getter for binary user attributes
 int numUserAttributes()
          Getter for number of binary user attributes
 void setUserAttributes(SparseBooleanMatrix s)
          Setter for binary user attributes
 
Methods inherited from interface org.mymedialite.IRecommender
canPredict, loadModel, predict, saveModel, toString, train
 

Method Detail

numUserAttributes

int numUserAttributes()
Getter for number of binary user attributes


getUserAttributes

SparseBooleanMatrix getUserAttributes()
Getter for binary user attributes


setUserAttributes

void setUserAttributes(SparseBooleanMatrix s)
Setter for binary user attributes