Hello all,
i'm new on this community.
I have an index of "hits" and for each document we have two parameters:
- user
- genre
example:
doc1
user:john
genre:rock
doc2
user:john
genre:rap
doc3
user:bruce
genre:rock
doc4
user:susan
genre:blues
doc5
user:susan
genre:rock
doc6
user:bruce
genre:rap
i'd like to have a "affinity" by genre with other genres counting the "common users".
rock with rap: -> 2 user
rock with blues: -> 0 users
rap with blues:-> 0 users
I'd like to create an "heatmap" with genres on the X & Y axis and the count of users ah "heatmap":