@Shareable @Immutable @DefaultProvider(value=UserAverageRatingBiasModelProvider.class) public class UserBiasModel extends UserItemBiasModel
Bias model that provides global and user biases. The user biases are precomputed and are not refreshed based on user data added since the model build.
Constructor and Description |
---|
UserBiasModel(double global,
Long2DoubleMap users)
Construct a new user bias model.
|
getIntercept, getItemBias, getItemBiases, getUserBias, getUserBiases
public UserBiasModel(double global, Long2DoubleMap users)
Construct a new user bias model.
global
- The global bias.users
- The user biases.