@Shareable @Immutable @DefaultProvider(value=ItemAverageRatingBiasModelProvider.class) public class ItemBiasModel extends UserItemBiasModel
Bias model that provides global and item biases. The item biases are precomputed and are not updated based on new data added since the model builds
Constructor and Description |
---|
ItemBiasModel(double global,
Long2DoubleMap items)
Construct a new item bias model.
|
getIntercept, getItemBias, getItemBiases, getUserBias, getUserBiases
public ItemBiasModel(double global, Long2DoubleMap items)
Construct a new item bias model.
global
- The global bias.items
- The item biases.