I get a result of 1.04.  Are you sure your data file is right? Should be
using ua.base from that data set.

On Nov 20, 2009 5:53 PM, "jamborta" <[email protected]> wrote:


yes I get zero. I've just figured that if I do it this way, it works fine:

public class ItemBasedBuilder implements RecommenderBuilder {

   @Override

public Recommender buildRecommender(DataModel dataModel) throws
TasteException {
       UserSimilarity userSimilarity = new
PearsonCorrelationSimilarity(dataModel);
       UserNeighborhood neighborhood =
               new NearestNUserNeighborhood(10, userSimilarity, dataModel);

Recommender recommender = new GenericUserBasedRecommender(dataModel,
neighbo...
but these two solution should give the same result I guess...

srowen wrote: > > This looks fine to me (though you are building a
user-based > recommender, and ...
--
View this message in context:
http://old.nabble.com/evaluating-recommender-systems-tp26421408p26443610.html

Sent from the Mahout User List mailing list archive at Nabble.com.

Reply via email to