Package org.apache.mahout.cf.taste.eval

Examples of org.apache.mahout.cf.taste.eval.RecommenderBuilder


public final class GenericRecommenderIRStatsEvaluatorImplTest extends TasteTestCase {

  @Test
  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here


public final class RMSRecommenderEvaluatorTest extends TasteTestCase {

  @Test
  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

public final class AverageAbsoluteDifferenceRecommenderEvaluatorTest extends TasteTestCase {

  @Test
  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

public final class GenericRecommenderIRStatsEvaluatorImplTest extends TasteTestCase {

  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

public final class RMSRecommenderEvaluatorTest extends TasteTestCase {

  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

public final class AverageAbsoluteDifferenceRecommenderEvaluatorTest extends TasteTestCase {

  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

public final class RMSRecommenderEvaluatorTest extends TasteTestCase {

  @Test
  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

public final class AverageAbsoluteDifferenceRecommenderEvaluatorTest extends TasteTestCase {

  @Test
  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

public final class GenericRecommenderIRStatsEvaluatorImplTest extends TasteTestCase {

  @Test
  public void testEvaluate() throws Exception {
    DataModel model = getDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) throws TasteException {
        return new SlopeOneRecommender(dataModel);
      }
    };
View Full Code Here

  }

  @Test
  public void testBoolean() throws Exception {
    DataModel model = getBooleanDataModel();
    RecommenderBuilder builder = new RecommenderBuilder() {
      @Override
      public Recommender buildRecommender(DataModel dataModel) {
        return new GenericBooleanPrefItemBasedRecommender(dataModel, new LogLikelihoodSimilarity(dataModel));
      }
    };
View Full Code Here

TOP

Related Classes of org.apache.mahout.cf.taste.eval.RecommenderBuilder

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.