Giter Club home page Giter Club logo

playlists-stat-analysis's Introduction

20 Years of Playlists: a Statistical Analysis on Popularity and Diversity

The proposed methodology can be applied to characterize playlists in terms of popularity and semantic diversity, allowing the comparative analysis of human-generated and algorithm-generated playlists in different contexts such as historical periods, platforms and musical genres. We find extremely valuable to compare different playlist datasets, as it allows to understand how changes in the listening experience are affecting playlist creation strategies.

This repository contains code to reproduce the results of our paper.

Reference:

Lorenzo Porcaro, Emilia Gómez (2019). 20 Years of Playlists: A Statistical Analysis on Popularity and Diversity. Paper to be presented at the 20th Conference of the International Society for Music Information Retrieval (ISMIR 2019), Delft, The Netherlands, 4-8 November.

Contact:

lorenzo.porcaro at gmail.com

Clone repos:

git clone https://github.com/MTG/playlists-stat-analysis.git
cd playlists-stat-analysis/src/
git clone https://github.com/oliviaguest/gini

Installation:

Create a virtual environment (tested on Python 3.5), then launch the following command for installing the dependencies (be sure to be in the src folder):

pip install -r requirements.txt

Download dataset:

It lasts between 5 and 10 minutes, and it is needed around 2GB of free disk

mkdir ../data
 ./download_datasets.sh

Add new dataset (optional):

Check data/README.md

Tags data:

For Last.fm tags and tags embeddings write to

lorenzo.porcaro at gmail.com

Analyze Dataset:

For instance, to analyze AOTM dataset launch the following commands:

Playlist Popularity Analysis:
python playlist_popularity.py -d AOTM
Playlist Diversity Analysis:
python playlist_diversity.py -d AOTM
Playlist Qualitative Analysis:
python playlist_qualia.py -d AOTM 
Plot tag-embeddings using t-SNE algorithm:
python plot_embeddings_tsne.py -d AOTM

In the case of CORN dataset, playlist_diversity.py lasts ~20 min, due to longness of average playlist.

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.