public static class MeanVarianceNormalizer.Builder extends Object implements javax.inject.Provider<MeanVarianceNormalizer>
A Builder for UserVarianceNormalizers that computes the variance from a RatingBuildContext.
@Inject public Builder(EventDAO dao, @MeanDamping double d)
Create a new mean-variance normalizer builder.
dao
- The DAO from which to get the global mean.d
- A Bayesian damping term. The normalizer pretends each user has an additional d ratings that are equal to the global mean.public MeanVarianceNormalizer get()
get
in interface javax.inject.Provider<MeanVarianceNormalizer>