https://cwiki.apache.org/MAHOUT/recommender-documentation.html has following example
// Construct the list of pre-computed correlations Collection <GenericItemSimilarity.ItemItemSimilarity> correlations = ...; how is actual construction done in above line ( correlations = ... ; )
