public class ItemAverageRatingBiasModelProvider extends java.lang.Object implements javax.inject.Provider<ItemBiasModel>
Compute a bias model that returns items’ average ratings. For an item \(i\), the global bias \(b\) plus the item bias \(b_i\) will equal the item’s average rating. User biases are all zero.
Constructor and Description |
---|
ItemAverageRatingBiasModelProvider(RatingSummary rs,
double damp) |
Modifier and Type | Method and Description |
---|---|
ItemBiasModel |
get() |
@Inject public ItemAverageRatingBiasModelProvider(RatingSummary rs, @BiasDamping double damp)
public ItemBiasModel get()
get
in interface javax.inject.Provider<ItemBiasModel>