www.cs.amherst/~ccm/cs111/prog4.html
Your assignment is to write a program to implement a recommender system like you find on Netflix or Amazon: ``people who liked that movie also enjoyed X.'' Your program makes use of two text files that I will provide, called books.txt and ratings.txt
Douglas Adams,The Hitchiker's Guide To The Galaxy Richard Adams,Watership Down Mitch Albom,The Five People You Meet in Heaven Laurie Halse Anderson,Speak Maya Angelou,I Know Why the Caged Bird Sings Ann Brashares,The Sisterhood of the Travelling Pants ...and so forth. Notice that the author name is separted from the book title by a comma. This file will contain 35 titles.
jeffAmherst 0 0 1 -3 1 1 3 -3 2 2 -3 3 0 0 0 1 1 -1 -3 0 0 3 1 -2 -3 1 -2 -2 2 2 0 0 0 0 0 ephriam 0 0 0 0 0 -3 0 0 0 0 0 0 0 0 0 0 0 0 0 -3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 cap99 3 3 3 3 3 -3 -3 -3 -3 0 0 0 0 0 0 0 0 0 -3 3 -3 3 -3 3 3 3 3 3 -3 -3 -3 -3 -3 ...And so forth. This file will contain between 10 and 100 user ratings, to be determined later.
From this data we learn, for example, that user jeffAmherst didn't read the first two books on the list. He liked (a little bit) the book by Mitch Albom, and hated the book by Laurie Halse Anderson. We also see that ephriam read only two books and didn't like either of them, and that cap99 has strong opinions (love or hate) about the books she reads.