@DefaultImplementation(value=DefaultItemScoreAlgorithm.class) public interface ItemScoreAlgorithm
ItemItemScorer and ItemItemGlobalScorer to score items. This logic is mainly abstracted
so that the personalized and global item scorers can share logic; it isn't very common to
reimplement this component.| Modifier and Type | Method and Description |
|---|---|
void |
scoreItems(ItemItemModel model,
SparseVector userData,
MutableSparseVector scores,
NeighborhoodScorer scorer)
Score items for a user.
|
void scoreItems(ItemItemModel model, SparseVector userData, MutableSparseVector scores, NeighborhoodScorer scorer)
model - The item-item model.userData - The user's rating data.scores - The score vector (key domain is items to score). Unscoreable items will be
left unchanged.scorer - The scorer to use.