Legal Disclaimer

The opinions stated here in this ‘blog or elsewhere on my web site are my own. Any or all facts (real or imagined) are typically presented from my personal point of view. Furthermore these facts and opinions do not necessarily represent or even agree with those of my family, my employer, the US Government, any other organization, or entity (real or imagined). Any similarity (real or imagined) to other individuals, animals, places, items or concepts is purely coincidental.

2004-02-23

Fun with Vectors 

Recently the high school age daughter of one of my parents college friends asked my Dad for some help with a math class project on the application of vectors. The following is part of my contribution.


Consider a database that recommends movies. First users enter ratings, 1 to 5 stars, for movies they have seen. The database represents each rating as the component in dimension of a particular movie of the user's preference vector. Then when a user wants a recommendation, it searches for other user's preference vectors that point in similar directions and include movies that the user hasn't seen.



Given the ratings above, the database would expect Bill to give the new Keanu Reeves movie, "Constantine", a rating of just over 4 because Bill's preference vector most closely matches Bob's but tends to be a little higher on average. The example above uses 8 & 9 dimensional vectors, but a web site like NetFlix probably uses vectors with hundreds and hundreds of dimensions.

Comments: Post a Comment