@DefaultImplementation(value=RatingVectorUserHistorySummarizer.class) public interface UserHistorySummarizer
Modifier and Type | Method and Description |
---|---|
Class<? extends Event> |
eventTypeWanted()
Get the supertype of all events required by this summarizer.
|
SparseVector |
summarize(UserHistory<? extends Event> history)
Compute a vector summary of a user's history.
|
Class<? extends Event> eventTypeWanted()
@Nonnull SparseVector summarize(@Nonnull UserHistory<? extends Event> history)
history
- The history to summarize.