Research Article
A Deterministic Model for Determining Degree of Friendship Based on Mutual Likings and Recommendations on OTT Platforms
| Algorithm Obj3: Determines mutual liking between two users. | | Input: Name of user | | Output: Mutual liking between user and the rest of the users in the user set U = | | Begin | (1) | Compute the Euclidean distance between movie ratings using the following equation [25, 26]: | | . | | Where and qi are movie ratings and d(p, q) is the Euclidean distance between ratings of the common movies. | (2) | Compute the similarity, s1 of user with user before user has watched the recommended movies using the following equation [25]: | | . | | Where d(p, q) is the Euclidean distance between ratings of the common movies. | (3) | Computer the similarity, s2 of user with user after user has finished watching the recommended movies using the above equation. | (4) | Compute mutual liking between users’ and using the following equation: | | . | (5) | Recommend the selected movie Mi to user | | End |
|