|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JaccardTrust<T>
Implementations of this interface define a notion of the trust value between two users and the trust value is calculated based on the similarity of their tagged items. Implementations should return values in the range of 0 to 1.0, with 1.0 representing perfect similarity.
Method Summary | |
---|---|
double |
trustValue(Set<T> user1TaggedItems,
Set<T> user2TaggedItems)
Calculate the trust value from the first user to the second user |
Method Detail |
---|
double trustValue(Set<T> user1TaggedItems, Set<T> user2TaggedItems)
user1TaggedItems
- The set of items tagged by user1user2TaggedItems
- The set of items tagged by user2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |