Class ContactRecommendationRelevanceModel<U>
java.lang.Object
es.uam.eps.ir.ranksys.core.model.UserModel<U>
es.uam.eps.ir.ranksys.metrics.rel.RelevanceModel<U,I>
es.uam.eps.ir.ranksys.metrics.rel.IdealRelevanceModel<U,U>
es.uam.eps.ir.relison.links.recommendation.metrics.accuracy.ContactRecommendationRelevanceModel<U>
- Type Parameters:
U
- type of the users.
public class ContactRecommendationRelevanceModel<U>
extends es.uam.eps.ir.ranksys.metrics.rel.IdealRelevanceModel<U,U>
Relevance model for the specific contact recommendation task. Only those links
appearing in a given test network are judged as relevant.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
ContactRecommendationRelevanceModel.UserContactRecommendationRelevanceModel
The relevance model for a single user in the network.Nested classes/interfaces inherited from class es.uam.eps.ir.ranksys.metrics.rel.IdealRelevanceModel
es.uam.eps.ir.ranksys.metrics.rel.IdealRelevanceModel.UserIdealRelevanceModel<U extends java.lang.Object,I extends java.lang.Object>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ContactRecommendationRelevanceModel(boolean caching, Graph<U> testGraph)
Constructor. -
Method Summary
-
Field Details
-
testGraph
The test graph containing the relevant links.
-
-
Constructor Details
-
ContactRecommendationRelevanceModel
Constructor.- Parameters:
caching
- true if we want to cache the user relevance models.testGraph
- the test graph containing the relevance edges.
-
-
Method Details