Example usage for org.apache.mahout.cf.taste.model DataModel interface-usage

List of usage examples for org.apache.mahout.cf.taste.model DataModel interface-usage

Introduction

In this page you can find the example usage for org.apache.mahout.cf.taste.model DataModel interface-usage.

Usage

From source file alto.plugin.webradio.recommender.MongoDBDataModel.java

/**
 * <p>A {@link DataModel} backed by a MongoDB database. This class expects a
 * collection in the database which contains a user ID ({@code long} or
 * {@link ObjectId}), item ID ({@code long} or
 * {@link ObjectId}), preference value (optional) and timestamps
 * ("created_at", "deleted_at").</p>

From source file com.anjuke.romar.mahout.PreferenceDataModel.java

public interface PreferenceDataModel extends DataModel {
    FastByIDMap<PreferenceArray> getRawUserData();

    FastByIDMap<PreferenceArray> getRawItemData();

    void compact();

From source file com.paradigma.recommender.db.MongoDBDataModel.java

/**
 * <p>A {@link DataModel} backed by a MongoDB database. This class expects a
 * collection in the database which contains a user ID ({@code long} or
 * {@link ObjectId}), item ID ({@code long} or
 * {@link ObjectId}), preference value (optional) and timestamps
 * ("created_at", "deleted_at").</p>

From source file edu.uniandes.yelp.recommender.MongoDBDataModel.java

/**
 * <p>A {@link DataModel} backed by a MongoDB database. This class expects a
 * collection in the database which contains a user ID ({@code long} or
 * {@link ObjectId}), item ID ({@code long} or
 * {@link ObjectId}), preference value (optional) and timestamps
 * ("created_at", "deleted_at").</p>

From source file net.recommenders.rival.recommend.frameworks.mahout.DataModelWrapper.java

/**
 * Mahout's DataModel wrapper for {@link net.recommenders.rival.core.DataModel}.
 *
 * @author <a href="http://github.com/abellogin">Alejandro</a>
 */
public class DataModelWrapper implements DataModel {

From source file norbert.mynemo.core.evaluation.PreferenceMaskerModelBuilder.java

/**
 * This class is a {@link DataModel} that acts as a proxy for another data model. It simulates
 * missing preferences for a given user. This class is also its own {@link DataModelBuilder}.
 *
 * <p>
 * The missing items are found by comparing the model given to the {link

From source file org.mandar.analysis.recsys2014.models.NeoMongoDBDataModel.java

/**
 * <p>A {@link org.apache.mahout.cf.taste.model.DataModel} backed by a MongoDB database. This class expects a
 * collection in the database which contains a user ID ({@code long} or
 * {@link org.bson.types.ObjectId}), item ID ({@code long} or
 * {@link org.bson.types.ObjectId}), preference value (optional) and timestamps
 * ("created_at", "deleted_at").</p>

From source file org.zaizi.mahout.alfresco.datamodel.AlfrescoDataModelImpl.java

/**
 * Created by IntelliJ IDEA. User: jcarrey Date: 31/08/2011 Time: 08:55 To change this template use File | Settings |
 * File Templates.
 */
public class AlfrescoDataModelImpl implements DataModel {
    private static Logger logger = Logger.getLogger(AlfrescoDataModelImpl.class);

From source file org.zaizi.mahout.alfresco.datamodel.AlfrescoViewDataModel.java

public interface AlfrescoViewDataModel extends DataModel {
    public void setPreferenceData(Map<Long, List<UserViewedCount>> preferences);
}

From source file org.zaizi.mahout.alfresco.datamodel.MetaversantDataModelImpl.java

/**
 * Created by IntelliJ IDEA.
 * User: jcarrey
 * Date: 31/08/2011
 * Time: 08:55
 * To change this template use File | Settings | File Templates.