Class SpecificUserSimilarity<U>
java.lang.Object
es.uam.eps.ir.ranksys.nn.user.sim.UserSimilarity<U>
es.uam.eps.ir.relison.links.recommendation.algorithms.knn.similarities.SpecificUserSimilarity<U>
- Type Parameters:
U
- type of the users.
- All Implemented Interfaces:
es.uam.eps.ir.ranksys.core.index.UserIndex<U>
,es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U>
,es.uam.eps.ir.ranksys.nn.sim.Similarity
public class SpecificUserSimilarity<U>
extends es.uam.eps.ir.ranksys.nn.user.sim.UserSimilarity<U>
Similarity between users.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SpecificUserSimilarity(es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U> uIndex, es.uam.eps.ir.ranksys.nn.sim.Similarity sim)
Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.ranksys.nn.user.sim.UserSimilarity
numUsers, similarElems, similarity, similarity, similarity, similarity, similarUsers, similarUsers, uidx2user, user2uidx
-
Constructor Details
-
SpecificUserSimilarity
public SpecificUserSimilarity(es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U> uIndex, es.uam.eps.ir.ranksys.nn.sim.Similarity sim)Constructor.- Parameters:
uIndex
- user index.sim
- similarity function.
-