@Test
public void testUserItemMeanBaseline() {
ItemScorer base = new ItemMeanRatingItemScorer.Builder(dao, 0.0).get();
ItemScorer pred = new UserMeanItemScorer(new PrefetchingUserEventDAO(dao),
base, new RatingVectorUserHistorySummarizer(),
0);
// we use user 8 - their average offset is 0.5
// unseen item, should be global mean + user offset
assertThat(pred.score(8, 10),
closeTo(RATINGS_DAT_MEAN + 0.5, 0.001));