[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

juansgomez87/vis-mtg-mer

Repository files navigation

TROMPA-MER: an open data set for personalized Music Emotion Recognition

Source code to reproduce experiments and visualization platform presented to Journal of Intelligent Information Systems.

-- Juan Sebastián Gómez-Cañón, Nicolás Gutiérrez-Páez, Lorenzo Porcaro, Alastair Porter, Estefanía Cano, Perfecto Herrera-Boyer, Aggelos Gkiokas, Patricia Santos, Davinia Hernández-Leo, Casper Karreman, and Emilia Gómez

Abstract

We present a data set for the analysis of personalized Music Emotion Recognition (MER) systems. We developed the Music Enthusiasts platform aiming to improve the gathering and analysis of the so-called “ground truth” needed as input to such systems. Our platform involves citizen science strategies to engage with audiences and generate large-scale music emotion annotations -- the platform presents didactic information and musical recommendations as incentivization, while collecting data regarding demographics, language, and mood from each participant. Participants annotated each music excerpt with single free-text emotion word (in native language), forced-choice of distinct emotion categories, preference, and familiarity. Additionally, participants stated the reasons for each annotation -- including those particular to emotion perception and emotion induction. An extensive analysis of the participants' ratings is presented and a novel personalization strategy is evaluated. Results evidence that using the “collective judgement” as prior knowledge for active learning allows for more effective personalization of MER systems for this particular data set. Our data set is publicly available and we invite researchers to use it for testing MER systems.

Online Website

With UPF-VPN: http://mirlab-web1.s.upf.edu:8050/vis-mtg-mer

External: https://trompa-mtg.upf.edu/vis-mtg-mer/

Reproduce results

To run with a virtual environment:

Create the virtual environment:

python3 -m venv trompa-venv
source trompa-venv/bin/activate
pip3 install -r requirements.txt

Copy the sklearn.py into the virtual environment library:

cp xgboost/sklearn.py trompa-venv/lib/python3.8/site-packages/xgboost

To merge annotations with playlist summary:

python3 merge_research_data.py

To obtain generalized word shift graphs from textual data:

We use Shannon's entropy to produce the shift graphs in the paper.

python3 nlp_shifterator.py -shift [proportion [prop], Shannon-Entropy [shan], Jensen-Shannon Divergence [jsd]]

To reproduce personalization results:

Contact juansebastian.gomez[at]upf[dot]edu to receive the processed feature set. We use only data from users that annotated more than 80 excerpts, and perform 15 iterations with 4 queries each. We also attempt to balance queries according to the probability of each quadrant.

python3 evaluate_dataset.py -n 80 -q 4 -e 15 -b True

The previous step will train all models for all users - it will take approximately 2 hours. After the process is complete, you need to analyze the results:

python3 analysis.py

This will output the plots from the papers, the statistical analysis, and the user behavior analysis.

Usage Dash App for visualization

To test the visualization app locally, just run:

python3 app.py

Or simply compose the docker image:

docker-compose up

Publication

@article{GomezCanon2022JIIS,
author = {Gómez-Cañón, Juan Sebastián and 
          Gutiérrez-Páez, Nicolás and
          Porcaro, Lorenzo and
          Cano, Estefanía and 
          Herrera-Boyer, Perfecto and 
          Gkiokas, Aggelos and
          Santos, Patricia and
          Hernández-Leo, Davinia and
          Karreman, Casper and
          Gómez, Emilia},
title = {{TROMPA-MER: an open dataset for personalized Music Emotion Recognition}},
journal = {Journal of Intelligent Information Systems},
volume = {},
issue = {},
year = {2022},
pages={1-22},
doi = {10.1007/s10844-022-00746-0}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published