With a small sample of discographies pulled from the Spotify API, I build two popularity prediction models based on musical key. First, a normal-normal mixture model, with both unique and fixed variance iterations. I use the EM algorithm to find maximum likelihood estimates for each unknown parameter. Second, in a hierarchical bayesian framework, where songs are nested within keys, I build credible intervals for a single band, specifically using the Gibbs sampler to draw samples from the posterior distribution.
-
Notifications
You must be signed in to change notification settings - Fork 0
katjanestrickland/Bayes-Music-Prediction
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Music popularity prediction model, using hierarchical bayes with a Gibbs sampler
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published