Hi all ,
i have a ralational table .
i want to compute the coisne similarity of the users using vector space.
what i need how can i reprent the table in two dimenstinal array .
to look like
item1 item2 item3 item4 item n
user1 1 1 0 0
user2 0 0 1 1
so the vector for user1 ( 1 1 0 0) 1 means have it , 0 others
thanks for your time . hope i find a help !!