Examples of UncenteredCosineSimilarity


Examples of org.apache.mahout.cf.taste.impl.similarity.UncenteredCosineSimilarity

  private final Recommender recommender;

  public Track1Recommender(DataModel dataModel) throws TasteException {
    // Change this to whatever you like!
    ItemSimilarity similarity = new UncenteredCosineSimilarity(dataModel);
    recommender = new GenericItemBasedRecommender(dataModel, similarity);
  }
View Full Code Here

Examples of org.apache.mahout.cf.taste.impl.similarity.UncenteredCosineSimilarity

  private final Recommender recommender;

  public Track1Recommender(DataModel dataModel) throws TasteException {
    // Change this to whatever you like!
    ItemSimilarity similarity = new UncenteredCosineSimilarity(dataModel);
    recommender = new GenericItemBasedRecommender(dataModel, similarity);
  }
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.