Recommender systems use past behaviours of others to give you suggestions on what has worked for others in the past, based on your own current context. Amazon books, for example, looks at the set of books that you have already purchased and compares your reading list with the reading list of others. It then aggregates the purchases of others who also bought many of the same books as you and recommends to you those books from the aggregate that you haven’t already purchased. Typically, you don’t make a recommendation unless there is enough data to suggest that it’s a meaningful recommendation.
In this assignment, we will do a simplified version of a recommender system. In our case, you
will be recommending courses to take at the university based on what other students have
taken.
Problem
Write a class that accepts the list of courses that other students have taken in the past and then
allows us to make three queries on that data. I will provide a “main” program that will then let
a user invoke the operations on the data.
The normal use of your class will have the following sequence: -
Read data from a file
- Do any of the following, in any order, a number of times
o Provide a list of courses and then ask for the best X recommendations of next
courses to take (where X is a parameter)
o Provide a list of courses and have the method print to the screen the number of
students with any combined pair of the courses (more details later)
o Have a method print to a file the number of students with the pairs of courses
for any pair of courses (more details later)
Get Free Quote!
273 Experts Online