Package org.apache.mahout.cf.taste.impl.model.jdbc

Examples of org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel$ResultSetItemIterator


import org.apache.mahout.cf.taste.recommender.slopeone.DiffStorage;

class SlopeOneJDBC {

  Recommender buildRecommender() throws TasteException {
    AbstractJDBCDataModel model = new MySQLJDBCDataModel();
    DiffStorage diffStorage = new MySQLJDBCDiffStorage(model);
    return new SlopeOneRecommender(
        model, Weighting.WEIGHTED, Weighting.WEIGHTED, diffStorage);
  }
View Full Code Here

TOP

Related Classes of org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel$ResultSetItemIterator

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.