GithubHelp home page GithubHelp logo

amadeus's Introduction

========================
Amadeus
========================

A content-based music recommender system with time contextual pre and post filtering.

Usage
===============

Setup
------------------
In order to install required dependencies, use the command:
pip install -r requirements.txt

Usage (command line)
-------------------
Sample configuration: run "python recommendation.py"

Changing parameters
-------------------
The file recommendation.py is a runnable script to obtain recommendations for three different playlists.
To change the listened playlist, change the value of "playlist" variable in line 20:

playlist= jazzSongs;

One of the already defined three playlists can be used, or a new one can be defined being an array of integers ranging from 0-9999.

The contextual information will be asked to the user.
To change this behaviour and automatically get context, comment line 64 and uncomment line 65.
To use a different dataset, the cal500, uncomment line 11 and comment line 12.
To use different cluster centroids, change the name of the file in line 33 to one of the *centroids.pckl present in dataset/(chosen dataset)

Creation phase:
--------------------
To reconfigure features and clusters, configuration requires running a single time (for each dataset) the scripts featureExtraction.py and clustering.py.
To perform featureExtraction, h5 files representing song features from the cal500 dataset (or the Million Song Dataset) should be placed in dataset/cal500/ (or dataset/mss/).
If the cal500 dataset is chosen, uncomment line 11 and comment line 12 in amadeus/featureExtraction.py and amadeus/clustering.py


Dataset Copyrights
=================

------------------
Thierry Bertin-Mahieux, Daniel P.W. Ellis, Brian Whitman, and Paul Lamere. 
The Million Song Dataset. In Proceedings of the 12th International Society
for Music Information Retrieval Conference (ISMIR 2011), 2011.

------------------
Turnbull, D., Barrington, L., Torres, D., and Lanckriet, G. (2008). Semantic
annotation and retrieval of music and sound effects. IEEE Transactions on
Audio, Speech, and Language Processing, 16(2):467โ€“476.

amadeus's People

Contributors

vitaglianog avatar solnunes avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.