Examples of FarthestNeighborClusterSimilarity


Examples of org.apache.mahout.cf.taste.impl.recommender.FarthestNeighborClusterSimilarity

class ClusterBasedRecommender {

  Recommender buildRecommender(DataModel model) throws TasteException {
    UserSimilarity similarity = new LogLikelihoodSimilarity(model);
    ClusterSimilarity clusterSimilarity =
        new FarthestNeighborClusterSimilarity(similarity);
    return new TreeClusteringRecommender(model, clusterSimilarity, 10);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.