Example usage for org.apache.mahout.cf.taste.impl.model AbstractDataModel subclass-usage

List of usage examples for org.apache.mahout.cf.taste.impl.model AbstractDataModel subclass-usage

Introduction

In this page you can find the example usage for org.apache.mahout.cf.taste.impl.model AbstractDataModel subclass-usage.

Usage

From source file org.easyrec.mahout.model.EasyrecInMemoryDataModel.java

/**
 * Created by IntelliJ IDEA.
 * User: dmann
 * Date: 18.10.11
 * Time: 17:24
 * To change this template use File | Settings | File Templates.

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

public class AlfrescoViewedDocumentDataModelImpl extends AbstractDataModel implements AlfrescoViewDataModel {
    private static Logger logger = Logger.getLogger(AlfrescoViewedDocumentDataModelImpl.class);

    private FastByIDMap<PreferenceArray> preferenceFromUsers = new FastByIDMap<PreferenceArray>();
    private FastByIDMap<PreferenceArray> preferenceForItems = new FastByIDMap<PreferenceArray>();
    private final FastByIDMap<FastByIDMap<Long>> timestamps = null;