Dear All,

I guess my question would be already discussed. I found a short explanation
in stackoverflow (
http://stackoverflow.com/questions/7638400/mahouts-datamodel-with-genericdatamodel)
but I would like to get more details.

1. Let's say I uploaded data from the file to DataModel. Is it the only way
to put all data to mahout, isn't it? I did not find any other examples
(without the usage of DataModel).

2. What's the meaning of refresh in the concept of DataModel? Is it just
add a new piece of data to the existing DataModel or it creates a new
DataModel from the old piece and a new piece?

Can you give a simple code example how to apply the method of refresh?

For example, my tries were the following:

DataModel model = new FileDataModel(ratingsFile);
<...>
Recommender cachingRecommender = new CachingRecommender();
cachingRecommender.refresh();

or

model.refresh();

But where I put the parameters?

3. Can I merge a new file with a piece of new data to the old DataModel?

model.refresh(newFile); or smt how to do it.


Thanks,

Darius

Reply via email to