mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zia mel <ziad.kame...@gmail.com>
Subject Threshold-based neighborhood and getReach
Date Mon, 04 Feb 2013 15:54:34 GMT
Hi , when selecting Threshold-based neighborhood, as the threshold
increase the precision increase which makes sense. However, the
getReach max provide recommendations for 0.2 users and decrease to
0.0002 , is that normal? The recall also drops. When using a
fixed-size neighborhood getReach provide much higher results.

//=== Code used ====

UserNeighborhood neighborhood =new
ThresholdUserNeighborhood(thresholdValue, similarity, model);
return new GenericUserBasedRecommender(model, neighborhood, similarity);

IRStatistics stats = evaluator.evaluate(recommenderBuilder, null,
model, null, 10, GenericRecommenderIRStatsEvaluator.CHOOSE_THRESHOLD,
1.0);

stats.getReach()
//===

Thanks

Mime
View raw message