A Deterministic Model for Determining Degree of Friendship Based on Mutual Likings and Recommendations on OTT Platforms
Algorithm 2
Algorithm Obj4.
Algorithm Obj4: Determines the degree of friendship between two users.
Input: Name of any two users from the user set U =
Output: Degree of friendship
Begin
(1)
Determine recommended movie list Ma = for user using algorithm Obj2.
(2)
Determine recommended movie list Mb = for user using algorithm Obj2.
(3)
Compute the friendship weight using the following equation:
(4)
Compute the degree of friendship using the following equation which is the product of the mutual liking computed from using final equation of Algorithm 1 of algorithm Obj3 and the friendship weight computed from the mutual Liking equation given in Algorithm 1: