if (predictions == null) {
return null;
}
SparseVector ratings = user.getTestRatings();
LongList ideal = ratings.keysByValue(true);
LongList actual = predictions.keysByValue(true);
double idealUtility = computeHLU(ideal, ratings);
double actualUtility = computeHLU(actual, ratings);
double u = actualUtility / idealUtility;