SimType similarityType) {
switch (similarityType) {
case COSINE:
return new CosineSimilarity();
case PEARSON_CORRELATION:
return new PearsonCorrelation();
case EUCLIDEAN:
return new EuclideanSimilarity();
case SPEARMAN_RANK_CORRELATION:
return new SpearmanRankCorrelation();
case JACCARD_INDEX: