SlideShare a Scribd company logo
1 of 32
Download to read offline
Music-Evoked
Autobiographical Memories
Julia Stelman
Professor: Petr Janata
Background
- Inspiration: Alzheimer’s study
- Data source: Prof. Janata’s psychology students and other subject volunteers
- Data Collection: MEAMCentral “Music-Evoked Autobiographical Memories”
- Data format: Linked Data; SPARQL triples
Goals
- Efficiently integrate Python NLTK tools to perfect
sentiment analysis.
- Determine significant trends between
emotions in memories and sentimental
characteristics of associated songs.
What is MEAMCentral?
Investigation
- What information can be extracted from user-inputted memory?
- What can be discovered with that data and what other data is available?
- Focus: Do memories with similar emotional trends correspond to songs with similar features?
- Tools: Spotify Web API via “Spotipy” python library
- Method: Track metadata, Mood and Genre playlists, Recommendation feature.
"sophomore
year of college, i
think. i seem to
remember the guys
in my singing group
going through a
phase in
Memory Narrative Example:
"sophomore year of college, i think. i seem to remember the guys in my singing
group going through a phase in which they were obsessed with barenaked ladies,
the band. i seem to remember bnl being played a lot during tours or retreats. i
can't pinpoint a specific memory, but the memory of the era feels satisfyingly
authentic."
The memory
narratives are
each
tokenized.
The tokens
are then
lemmatized
and stemmed.
Stop words
are removed.
Songs that didn’t come from Spotify were
removed. (Some came from itunes). This is
something I’m working on fixing because
about 40% of the data is lost due to this.
Most popular words overall:
(stop words removed)
Word size is based on frequency of the root word in the whole dataset.
Data Preview
I have reviewed the
data for content of ten
different emotions.
The ten rows at the
bottom each pertain
to a specific emotion.
Their elements are
frequencies of related
words.
Breakdown of Emotion Words by Emotion Group
Spotify
d
g
Old
What does it all mean?
• I have over 4,000 unique memories to work with – tied to 1 song & 1 user.
• Just over 2,000 are identifiably associated with a track on Spotify
• There are roughly 100,000 songs on Spotify’s collection of Mood/Genre
playlists
• Less than 700 of them are identifiably associated with a song on a Mood/Genre playlist
• There are fewer than 100 unique songs in this pool
• Not much to work with 
Unique
Not unique Not unique
New strategy
• Plan to use the recommendation seed feature on Spotipy
• Can get a set of 10 songs that Spotify considers “similar” to a given track
• Look for direct connections to other songs in the network
• Indirect connections – two songs in the network connect to same external song
• Can possibly check for presence of recommended songs in Mood/Genre
playlists. Can be (an)other variable(s) for analyzing the “seed” track.
New
Using recommendation
seed feature.
Mood playlists: Happy vs Sad more like Good vs Bad mood
As you can see, each playlist is has a title and a description.
The following wordcloud consists of words from every mood playlist’s description.
Take a look:
Mood playlists: Happy vs Sad more like Good vs Bad mood
Most popular words used by Spotify in
the descriptions of their “Mood” playlists:
• Not very many emotion-related words.
Adding Recommendations
• For each memory triggered by a Spotify-compatible song, ask SpotiPy to
recommend 10 songs similar to the trigger song
• Save these recommendations and their seeds (corresponding trigger songs), in
a DataFrame join with the DataFrame you saw last.
• Here it is again:
Data Preview
This is the data without
any recommendations
added. Each memory
column is unique.
This has been transposed to
preserve the visibility of
variable names.
Adding Recommendations
• For each memory triggered by a Spotify-compatible song, ask SpotiPy to
recommend 10 songs similar to the trigger song
• Save these recommendations and their seeds (corresponding trigger songs), in
a DataFrame join with the DataFrame you saw last.
• Here it is again:
• And here is what it looks like after adding recommendations:
Data Preview
This is the data with
recommendations
added*.
*I selected these columns
intentionally to show a
broader variety of entries in
emotion frequency and in
the bottom four rows. They
are not in sequential order.
In the full table columns with
even one occurrence of any
emotion are few and far
between.
Adding Recommendations
• I used these details as new variables on which I could analyze the seed tracks
(“songid” row), and everything attached to them.
• That includes memory content data
- emotional frequencies
• The following wordclouds pertain to 9 out of the 10 emotions I examined:
Word Clouds (Unweighted) Each memory narrative that contains a word related to
the emotion of interest is pasted in the document once.
Word Clouds (Weighted) Each memory narrative is pasted in the document as many
times as they contain a word related to the emotion of interest.
Adding Recommendation Details
• Check for presence of recommendation songs in Mood/Genre/Action playlists
• Save the details in a DataFrame and join with the DataFrame you saw last.
• Here it is again:
Data Preview
This is the data with
only the Spotify IDs of
recommendations
added. Each memory
column is unique.
This has been transposed to
preserve the visibility of
variable names.
Adding Recommendations Details
• Check for presence of recommendation songs in Mood/Genre/Action playlists
• Save the details in a DataFrame and join with the DataFrame you saw last.
• Here it is again:
• And here is what it looks like after adding recommendation details:
Data Preview
This is the data with
recommendation details
added*.
*I selected these columns
intentionally to show a
broader variety of entries in
emotion frequency and in the
bottom four rows. They are not
in sequential order.
In the full table columns with
even one occurrence of any
emotion are few and far
between.
Adding Recommendation Details
• I then experimented with recommendation-containing playlists, and their details,
as variables on which to analyze seed tracks.
- Includes Playlist’s folder (i.e. “mood”, “chill”, “travel”, “classical”)
- Playlist’s name and Playlist’s description
• The following wordclouds pertain to all ten of the emotions I examined:
- Playlist folders are in blue, playlist descriptions are in orange
Word Clouds (Unweighted)

More Related Content

Similar to June 2018 RTG presentation

PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docxPAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
aman341480
 
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docxPAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
honey690131
 

Similar to June 2018 RTG presentation (18)

Back to the Future: Evolution of Music Moods From 1992 to 2022
Back to the Future: Evolution of Music Moods From 1992 to 2022Back to the Future: Evolution of Music Moods From 1992 to 2022
Back to the Future: Evolution of Music Moods From 1992 to 2022
 
Recommending and searching @ Spotify
Recommending and searching @ SpotifyRecommending and searching @ Spotify
Recommending and searching @ Spotify
 
Explainable Recommendation for Repeat Consumption (RecSys 2020)
Explainable Recommendation for Repeat Consumption (RecSys 2020)Explainable Recommendation for Repeat Consumption (RecSys 2020)
Explainable Recommendation for Repeat Consumption (RecSys 2020)
 
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docxPAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
 
How to Create and Organize Multiple Playlists Using Playlist.com
How to Create and Organize Multiple Playlists Using Playlist.comHow to Create and Organize Multiple Playlists Using Playlist.com
How to Create and Organize Multiple Playlists Using Playlist.com
 
Prediction of Spotify song popularity.pdf
 Prediction of Spotify song popularity.pdf Prediction of Spotify song popularity.pdf
Prediction of Spotify song popularity.pdf
 
Search @ Spotify
Search @ Spotify Search @ Spotify
Search @ Spotify
 
Organizing
OrganizingOrganizing
Organizing
 
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docxPAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
PAPER EXPECTATIONSFollow the instructions.Make your ideas .docx
 
Poster vega north
Poster vega northPoster vega north
Poster vega north
 
auto_playlist
auto_playlistauto_playlist
auto_playlist
 
2. Research (FMP).pptx
2. Research (FMP).pptx2. Research (FMP).pptx
2. Research (FMP).pptx
 
Understanding ai music discovery and recommendation systems
Understanding ai music discovery and recommendation systemsUnderstanding ai music discovery and recommendation systems
Understanding ai music discovery and recommendation systems
 
Enfuse_QS.pdf
Enfuse_QS.pdfEnfuse_QS.pdf
Enfuse_QS.pdf
 
Mood tunes
Mood tunesMood tunes
Mood tunes
 
Trending Music ChatGPT Plugin
Trending Music ChatGPT PluginTrending Music ChatGPT Plugin
Trending Music ChatGPT Plugin
 
Playlistowl.pdf
Playlistowl.pdfPlaylistowl.pdf
Playlistowl.pdf
 
Multi modal music mood classification
Multi modal music mood classificationMulti modal music mood classification
Multi modal music mood classification
 

Recently uploaded

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 

Recently uploaded (20)

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptx
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 

June 2018 RTG presentation

  • 2. Background - Inspiration: Alzheimer’s study - Data source: Prof. Janata’s psychology students and other subject volunteers - Data Collection: MEAMCentral “Music-Evoked Autobiographical Memories” - Data format: Linked Data; SPARQL triples
  • 3. Goals - Efficiently integrate Python NLTK tools to perfect sentiment analysis. - Determine significant trends between emotions in memories and sentimental characteristics of associated songs.
  • 5.
  • 6. Investigation - What information can be extracted from user-inputted memory? - What can be discovered with that data and what other data is available? - Focus: Do memories with similar emotional trends correspond to songs with similar features? - Tools: Spotify Web API via “Spotipy” python library - Method: Track metadata, Mood and Genre playlists, Recommendation feature. "sophomore year of college, i think. i seem to remember the guys in my singing group going through a phase in
  • 7. Memory Narrative Example: "sophomore year of college, i think. i seem to remember the guys in my singing group going through a phase in which they were obsessed with barenaked ladies, the band. i seem to remember bnl being played a lot during tours or retreats. i can't pinpoint a specific memory, but the memory of the era feels satisfyingly authentic."
  • 8. The memory narratives are each tokenized. The tokens are then lemmatized and stemmed. Stop words are removed. Songs that didn’t come from Spotify were removed. (Some came from itunes). This is something I’m working on fixing because about 40% of the data is lost due to this.
  • 9. Most popular words overall: (stop words removed) Word size is based on frequency of the root word in the whole dataset.
  • 10. Data Preview I have reviewed the data for content of ten different emotions. The ten rows at the bottom each pertain to a specific emotion. Their elements are frequencies of related words.
  • 11. Breakdown of Emotion Words by Emotion Group
  • 13. Old
  • 14. What does it all mean? • I have over 4,000 unique memories to work with – tied to 1 song & 1 user. • Just over 2,000 are identifiably associated with a track on Spotify • There are roughly 100,000 songs on Spotify’s collection of Mood/Genre playlists • Less than 700 of them are identifiably associated with a song on a Mood/Genre playlist • There are fewer than 100 unique songs in this pool • Not much to work with  Unique Not unique Not unique
  • 15. New strategy • Plan to use the recommendation seed feature on Spotipy • Can get a set of 10 songs that Spotify considers “similar” to a given track • Look for direct connections to other songs in the network • Indirect connections – two songs in the network connect to same external song • Can possibly check for presence of recommended songs in Mood/Genre playlists. Can be (an)other variable(s) for analyzing the “seed” track.
  • 17. Mood playlists: Happy vs Sad more like Good vs Bad mood
  • 18. As you can see, each playlist is has a title and a description. The following wordcloud consists of words from every mood playlist’s description. Take a look: Mood playlists: Happy vs Sad more like Good vs Bad mood
  • 19. Most popular words used by Spotify in the descriptions of their “Mood” playlists: • Not very many emotion-related words.
  • 20. Adding Recommendations • For each memory triggered by a Spotify-compatible song, ask SpotiPy to recommend 10 songs similar to the trigger song • Save these recommendations and their seeds (corresponding trigger songs), in a DataFrame join with the DataFrame you saw last. • Here it is again:
  • 21. Data Preview This is the data without any recommendations added. Each memory column is unique. This has been transposed to preserve the visibility of variable names.
  • 22. Adding Recommendations • For each memory triggered by a Spotify-compatible song, ask SpotiPy to recommend 10 songs similar to the trigger song • Save these recommendations and their seeds (corresponding trigger songs), in a DataFrame join with the DataFrame you saw last. • Here it is again: • And here is what it looks like after adding recommendations:
  • 23. Data Preview This is the data with recommendations added*. *I selected these columns intentionally to show a broader variety of entries in emotion frequency and in the bottom four rows. They are not in sequential order. In the full table columns with even one occurrence of any emotion are few and far between.
  • 24. Adding Recommendations • I used these details as new variables on which I could analyze the seed tracks (“songid” row), and everything attached to them. • That includes memory content data - emotional frequencies • The following wordclouds pertain to 9 out of the 10 emotions I examined:
  • 25. Word Clouds (Unweighted) Each memory narrative that contains a word related to the emotion of interest is pasted in the document once.
  • 26. Word Clouds (Weighted) Each memory narrative is pasted in the document as many times as they contain a word related to the emotion of interest.
  • 27. Adding Recommendation Details • Check for presence of recommendation songs in Mood/Genre/Action playlists • Save the details in a DataFrame and join with the DataFrame you saw last. • Here it is again:
  • 28. Data Preview This is the data with only the Spotify IDs of recommendations added. Each memory column is unique. This has been transposed to preserve the visibility of variable names.
  • 29. Adding Recommendations Details • Check for presence of recommendation songs in Mood/Genre/Action playlists • Save the details in a DataFrame and join with the DataFrame you saw last. • Here it is again: • And here is what it looks like after adding recommendation details:
  • 30. Data Preview This is the data with recommendation details added*. *I selected these columns intentionally to show a broader variety of entries in emotion frequency and in the bottom four rows. They are not in sequential order. In the full table columns with even one occurrence of any emotion are few and far between.
  • 31. Adding Recommendation Details • I then experimented with recommendation-containing playlists, and their details, as variables on which to analyze seed tracks. - Includes Playlist’s folder (i.e. “mood”, “chill”, “travel”, “classical”) - Playlist’s name and Playlist’s description • The following wordclouds pertain to all ten of the emotions I examined: - Playlist folders are in blue, playlist descriptions are in orange