public class BayesianRating
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static double |
MAX_BAYESIAN_RATING |
private static double |
MIN_BAYESIAN_RATING |
Modifier | Constructor and Description |
---|---|
private |
BayesianRating() |
Modifier and Type | Method and Description |
---|---|
static double |
calculate(double averageNumberOfVotes,
double totalAverageRating,
int numberOfVotes,
double ratingAverage) |
private static final double MAX_BAYESIAN_RATING
private static final double MIN_BAYESIAN_RATING