public class UserAverageRatingBiasModelProvider extends java.lang.Object implements javax.inject.Provider<UserBiasModel>
Compute a bias model that returns users’ average ratings. For a user \(u\), the global bias \(b\) plus the user bias \(b_u\) will equal the user’s average rating. Item biases are all zero.
Constructor and Description |
---|
UserAverageRatingBiasModelProvider(RatingVectorPDAO dao,
double damp) |
Modifier and Type | Method and Description |
---|---|
UserBiasModel |
get() |
@Inject public UserAverageRatingBiasModelProvider(RatingVectorPDAO dao, @BiasDamping double damp)
public UserBiasModel get()
get
in interface javax.inject.Provider<UserBiasModel>