|
505 | 505 | "\n",
|
506 | 506 | "That was fun.\n",
|
507 | 507 | "\n",
|
508 |
| - "### Release Dates\n", |
| 508 | + "## Release Dates\n", |
509 | 509 | "\n",
|
510 | 510 | "Which era of music do I prefer?"
|
511 | 511 | ]
|
|
638 | 638 | "source": [
|
639 | 639 | "Pretty good fit! I seem to be extra partial to music from about 5 years ago. We'll see whether the present or maybe the further past catches up.\n",
|
640 | 640 | "\n",
|
641 |
| - "### Popularity Contest\n", |
| 641 | + "## Popularity Contest\n", |
642 | 642 | "\n",
|
643 | 643 | "I was happy to find popularity listed as a field in Spotify's track JSON. It's a percentile between 0 and 100, rather than an absolute number of plays. Still, it can be used to give a notion of how hipster I am."
|
644 | 644 | ]
|
|
693 | 693 | "source": [
|
694 | 694 | "Damn, I'm a hipster.\n",
|
695 | 695 | "\n",
|
696 |
| - "### Track Duration\n", |
| 696 | + "## Track Duration\n", |
697 | 697 | "\n",
|
698 | 698 | "Do I prefer long songs or short ones?"
|
699 | 699 | ]
|
|
802 | 802 | "cell_type": "markdown",
|
803 | 803 | "metadata": {},
|
804 | 804 | "source": [
|
805 |
| - "### Musical Features\n", |
| 805 | + "## Musical Features\n", |
806 | 806 | "\n",
|
807 | 807 | "In the interest of understanding user tastes and providing the best possible music recommendations, Spotify has done [some really sophisticated analysis](http://benanne.github.io/2014/08/05/spotify-cnns.html) of actual track content, which has only gotten more extensive in recent years. Music is a time series, but most similarity metrics (and most ML methods generally) require inputs to be vectors, that is: points in some feature-space. So they've transformed the tracks to numerical metrics like Energy and Valence (continuous) and Key (discrete).\n",
|
808 | 808 | "\n",
|
|
1054 | 1054 | "\n",
|
1055 | 1055 | "So it looks like this category is for actual single beats and unusual time signatures that Spotify isn't sure what to do with.\n",
|
1056 | 1056 | "\n",
|
1057 |
| - "### Joint Analysis\n", |
| 1057 | + "## Joint Analysis\n", |
1058 | 1058 | "\n",
|
1059 | 1059 | "I mostly just want to showcase what's possible. Let's plot Energy and Popularity together to see whether there is a relationship."
|
1060 | 1060 | ]
|
|
1089 | 1089 | "source": [
|
1090 | 1090 | "The density is pretty scattered, doesn't the whole plot, meaning the relationship here is actually pretty weak. Surprising.\n",
|
1091 | 1091 | "\n",
|
1092 |
| - "### The Final Frontier\n", |
| 1092 | + "## The Final Frontier\n", |
1093 | 1093 | "\n",
|
1094 | 1094 | "Finally, I'm going to follow [this guy's example](https://medium.com/cuepoint/visualizing-hundreds-of-my-favorite-songs-on-spotify-fe50c94b8af3) and feed the dimension-reduced data to a one-class SVM to get a sense of what the frontier of my normal taste looks like in that space, [heat-map-of-the-universe-style](https://www.nasa.gov/mission_pages/planck/multimedia/pia16873.html).\n",
|
1095 | 1095 | "\n",
|
|
0 commit comments