@SuppressWarnings("unused")
	private UserSimilarity getSimilarityFor(DataModel dataModel, int i) throws TasteException {
		switch (i) {
			case 0 :
				return new PearsonCorrelationSimilarity(dataModel);
			case 1 :
				return new PearsonCorrelationSimilarity(dataModel, Weighting.WEIGHTED);
			case 2:
				return new SpearmanCorrelationSimilarity(dataModel);
			case 3:
				return new UncenteredCosineSimilarity(dataModel);
			case 4:
				return new UncenteredCosineSimilarity(dataModel, Weighting.WEIGHTED);
			case 5:
				return new CityBlockSimilarity(dataModel); // ie Manhattan
			case 6:
				return new TanimotoCoefficientSimilarity(dataModel);
			case 7:
				return new LogLikelihoodSimilarity(dataModel);
			default :
				return null;
		}
	}