About the Project
The KLR Music Recommender is a website that allows users to browse a database of a few thousand songs, rate them as they please and, as the name suggests, get songs recommended to them. This project was an experiment in gathering data to analyze users and give them competent suggestions. Our team created this system using Ruby on Rails and MySQL, with a Perl script to extract song information from our mp3's ID3 tags. What we do to compare user's tastes was take a set of songs that a given user has rated, then compare them to each other user's ratings for those same songs. We give positive ratings a 1, negative ratings a -1, and if the second user hasn't rated a song, we use a 0. From there we calculate the Euclidean distance between lines consisting of each set of ratings. You can find a better rundown with visual aids here.