public class WeightedSlopeOneItemScorer extends SlopeOneItemScorer
An ItemScorer that implements a weighted Slope One algorithm.
dao, domain, model| Constructor and Description |
|---|
WeightedSlopeOneItemScorer(org.lenskit.data.ratings.RatingVectorPDAO dao,
SlopeOneModel model,
org.lenskit.data.ratings.PreferenceDomain dom) |
| Modifier and Type | Method and Description |
|---|---|
org.lenskit.api.ResultMap |
scoreWithDetails(long user,
Collection<Long> items) |
getModel@Inject
public WeightedSlopeOneItemScorer(org.lenskit.data.ratings.RatingVectorPDAO dao,
SlopeOneModel model,
@Nullable
org.lenskit.data.ratings.PreferenceDomain dom)
@Nonnull public org.lenskit.api.ResultMap scoreWithDetails(long user, @Nonnull Collection<Long> items)
scoreWithDetails in interface org.lenskit.api.ItemScorerscoreWithDetails in class SlopeOneItemScorer