Package org.apache.mahout.cf.taste.impl.recommender

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


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

Related Classes of org.apache.mahout.cf.taste.impl.recommender.ClusterSimilarity

Copyright © 2018 www.massapicom. 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.