| new EuclideanDistanceSimilarity(dataModel).itemSimilarity(0, 1);
assertCorrelationEquals(0.3606507916004517, correlation);
}
public void testSimpleItem() throws Exception {
DataModel dataModel = getDataModel(
new long[] {1, 2, 3},
new Double[][] {
{1.0, 2.0},
{2.0, 5.0},
{3.0, 6.0},
|