In the movie recommendation application we want to modify the process to now incorporate the actual ratings of movies. Now when comparing two covers and there are two variables of interest: rating of movie and rating of movie . While it makes sense to recommend movie if it has a high rating, the rating for movie may be low making it a worse recommendation.

For that reason, instead of making an undirected graph, we make a directed graph where if two cover elements and intersect than we create two arcs and .

We want to apply weights to the arcs were a smaller number implies higher rated. I think the following modification to Steinhaus distance is worth considering:

where is the normalized rating user ranked movie . We apply the weight to arc and the weight to arc .

The stable path finding algorithm requires no modifications under these changes.

This new “distance function” now recommends a movie based on how many users who saw both movies and rated movie . In the arc we now care if users liked movie but do not care about their opinion on movie . Those opinions give influence to arc .

Under this new design the Mulan to Moulin Rouge route becomes:

  1. Mulan (1998)
  2. Tarzan (1999)
  3. Winnie the Pooh and the Blustery Day (1968)
  4. Charlotte’s Web (1973)
  5. Jungle Book, The (1967)
  6. American Tail, An (1986)
  7. Money Pit, The (1986)
  8. Blind Date (1987)
  9. Let It Ride (1989)
  10. Mysterious Skin (2004)
  11. Brokeback Mountain (2005)
  12. Moulin Rouge (2001)

center